title: how to find out the text in UITextview does not required to scroll in iOS
body: <p>I am showing the terms and conditions in the UITextView. when users reached the last line of the text in the UITextView and then only enabling the button (which navigates to the next screen) available at the bottom of the screen.</p>
  <p>I have implemented the required logic using text view delegate.</p>
  <pre><code>- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
      
          float scrollViewHeight = scrollView.frame.size.height;
          float scrollContentSizeHeight = scrollView.contentSize.height;
          float scrollOffset = scrollView.contentOffset.y;
  
          if (scrollOffset + scrollViewHeight == scrollContentSizeHeight)
          {   // login to enable the button 
          }
      
  }
  </code></pre>
  <p>This logic is working fine but in ipad Pro devices this is causing trouble. The ipad pro screen is large and all the text is visible without scroll.</p>
  <p>How to find out text is visible in UITextView with out scroll. Also how to handle the problem in ipad Pro.</p>