iOS 7 UITextView vertical alignment

前端 未结 8 701
不思量自难忘°
不思量自难忘° 2020-11-29 04:21

How is that possible that my editable UITextView (placed inside a straightforward UIViewController inside a UISplitView that acts as delegate for t

8条回答
  •  旧巷少年郎
    2020-11-29 05:20

    Swift version of Tanguy.G's answer:

    if(UIDevice.currentDevice().systemVersion >= "7.0") {
                self.automaticallyAdjustsScrollViewInsets = false; // Avoid the top UITextView space, iOS7 (~bug?)
      }
    

提交回复
热议问题