开发者

UIWindows class subviews method missing

开发者 https://www.devze.com 2023-04-07 00:32 出处:网络
Im just going through a video tutorial on swaping views. see code below please: NSArray *subs = [window subviews];

Im just going through a video tutorial on swaping views.

see code below please:

NSArray *subs = [window subviews];

The "window subviews" code simply returns the views into the array subs.

But I checked the UIWindow class and I cannot find the property "subviews". Please help, no point my watching video tutorials if I dont understand the co开发者_运维百科de.

many thanks


UIWindow inherits from UIView. UIView has the subviews property.

0

精彩评论

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

关注公众号