在Autolayout中 UITextView显示不左上角显示,修改如下
在viewDidLoad里面添加如下代码
if([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0)
{
// Avoid the top UITextView space, iOS7 (~bug?)
}
在Autolayout中 UITextView显示不左上角显示,修改如下
在viewDidLoad里面添加如下代码
if([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0)
{
相关文章: