开发者

Why not allocate the UIWindow object in the UIViewController subclass?

Suppose the application will only use a single-purpose view controller. Is there anything inherently bad with allocating th开发者_运维知识库e required UIWindow object as a member of the view controller subclass?

The programming guide does not provide any examples built this way, although they also don't seem to emphasize whether that's truly allowed or not.


I was asking the same question and found yours. After a look around, I found that going back to basics was the correct thing to do, so

http://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/Introduction/Introduction.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜