iOS 解决首次push到含有UITextView的界面,会卡顿的问题

来源:互联网 发布:科比生涯数据场均得分 编辑:程序博客网 时间:2024/06/16 10:06

AppDelegate.m

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions方法中初始化UITextView


UITextView * textView = [[UITextView alloc]initWithFrame:CGRectZero];

[self.window addSubview:textView];

不用做任何处理就解决了

阅读全文
0 0
原创粉丝点击