简体   繁体   中英

How do I get the iPhone status bar to lay atop a UIImageView

One thing I like about the iPhone Photo Album is the way a photo extends up underneath both the navigation bar and the status bar which are both translucent.

In my app, I've got my navigation bar and status bar both translucent. How do I get the same visual effect as the Photo Album?

I found the answer in the manual.

This is the relevant property on UIViewControllers:

@property(nonatomic,assign) BOOL wantsFullScreenLayout

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM