What is Causing this Unwanted Content Inset with UITextView in iOS 8 (not there in iOS 7)?

前端 未结 2 1212
旧巷少年郎
旧巷少年郎 2021-01-03 01:52

I\'ve been creating UITextViews programatically, using auto layout, in iOS 7. Something like this:

_textView = [UITextView new];
_textView.trans         


        
2条回答
  •  太阳男子
    2021-01-03 02:42

    I think automaticallyAdjustsScrollViewInsets works a bit differently in iOS 8. In 7, it only applied if the controller's view property was a scrollView. In 8, it seems to apply to scroll views that are subviews of the controllers' view.

提交回复
热议问题