很簡單就可以搞定了:
if([selfrespondsToSelector:@selector(setAutomaticallyAdjustsScrollViewInsets:)]) {self.automaticallyAdjustsScrollViewInsets =NO;? }
主要是因?yàn)樵趇OS7下使用了navigationController讓scrollView自動適應(yīng)屏幕造成的。而UITextView繼承與scrollView
很簡單就可以搞定了:
if([selfrespondsToSelector:@selector(setAutomaticallyAdjustsScrollViewInsets:)]) {self.automaticallyAdjustsScrollViewInsets =NO;? }
主要是因?yàn)樵趇OS7下使用了navigationController讓scrollView自動適應(yīng)屏幕造成的。而UITextView繼承與scrollView