Scrolling Problem

Discussion in 'iOS Programming' started by loon3y, Feb 17, 2012.

  1. macrumors 65816

    loon3y

    Joined:
    Oct 21, 2011
    #1
    I have a image view and text view inside a scroll view, and I've been having some scrolling problems.




    [​IMG]




    as u see from the picture it cuts off, when i scroll down sometimes it scrolls the text view down only, or sometimes it does both.


    i think it would get confusing for a user when this happens especially if their not iPhone savvy.



    any suggestions on how to fix this??
     
  2. macrumors newbie

    OverByThere

    Joined:
    Nov 24, 2011
    Location:
    Rugby, UK
    #2
    I don't fully understand your question, you have an image view, and a text view in a scroll view. Are you able to provide the code that creates this? And/or a screenshot of the app with the image in place, and before & after scrolling?
     
  3. macrumors regular

    Joined:
    Aug 26, 2010
    #3
    Get the size requirements of the text, resize the UITextView based on text size. Then disable scrolling inside of the UITextView. Also make sure it's a subview of UIScrollView.

    Hope this helps.
     

Share This Page