在有导航栏的情况下,UITextView的光标总是定位在textView的最下面,而我期望的是在最上得位置,解决方法如下:
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0)
{
self.automaticallyAdjustsScrollViewInsets = NO;
}
在有导航栏的情况下,UITextView的光标总是定位在textView的最下面,而我期望的是在最上得位置,解决方法如下:
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0)
{
self.automaticallyAdjustsScrollViewInsets = NO;
}