很简单就可以搞定了:
if([selfrespondsToSelector:@selector(setAutomaticallyAdjustsScrollViewInsets:)]) {self.automaticallyAdjustsScrollViewInsets =NO; }
主要是因为在iOS7下使用了navigationController让scrollView自动适应屏幕造成的。而UITextView继承与scrollView
很简单就可以搞定了:
if([selfrespondsToSelector:@selector(setAutomaticallyAdjustsScrollViewInsets:)]) {self.automaticallyAdjustsScrollViewInsets =NO; }
主要是因为在iOS7下使用了navigationController让scrollView自动适应屏幕造成的。而UITextView继承与scrollView