Large Text Being Cut Off in UITextView That is Inside UIScrollView

后端 未结 17 1681
挽巷
挽巷 2020-11-29 02:03

I\'m having a serious problem that I just can\'t seem to fix and it\'s driving me insane for the last two days. I have searched far and wide and I can\'t find a solution, e

17条回答
  •  迷失自我
    2020-11-29 03:03

    Just try this.

    In IOS 8 and Xcode 6.3,

    textview.scrollEnabled=YES;
    [self.textview setContentInset:UIEdgeInsetsMake(-10.0, 0, -5.0, 0)];
    

提交回复
热议问题