Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在非故事板项目中,我可以简单地在界面生成器中选择窗口并将其类从 UIWindow 更改为 MyUIWindow。我应该如何在故事板项目中做到这一点?提前感谢您的帮助!
在 AppDelegate 中,您有:@property (strong, nonatomic) UIWindow *window; 因此,如果您确实在过去休息但没有使用情节提要,那么从那里应该没问题。
@property (strong, nonatomic) UIWindow *window;