iOS-Pro icon indicating copy to clipboard operation
iOS-Pro copied to clipboard

UIWindow的demo有错

Open wangyansnow opened this issue 8 years ago • 0 comments

错误描述

在github上下载UIWindow.zip解压后打开,运行程序在6splus的模拟器上,直接崩溃

解决方法

PasswordInputWindow.m中的initWithFrame:中添加一行代码:

 self.rootViewController = [UIViewController new]    

仍然存在的疑虑

为什么这样就会不崩溃了,原理是什么,求作者解答.

wangyansnow avatar Mar 22 '16 08:03 wangyansnow