status bar is overlapping with the view How do I set the view below the status bar in iOS7 I'm using XIB not a storyboard
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- back button text does not change
- iOS (objective-c) compression_decode_buffer() retu
- how to find the index position of the ARRAY Where
相关文章
- 现在使用swift开发ios应用好还是swift?
- TCC __TCCAccessRequest_block_invoke
- xcode 4 garbage collection removed?
- Unable to process app at this time due to a genera
- How can I add media attachments to my push notific
- didBeginContact:(SKPhysicsContact *)contact not in
- Custom Marker performance iOS, crash with result “
- ios7 new pan gesture to go back in navigation stac
Try this
You need add the above in your
-(void)viewDidLoad
method.Try this:
If you want to disable the status bar from plist, try this:
this is necessary for iOS 7, works for me. Set these two tags in your info.plist.
Everytime your viewcontroller appears, in viewDidLoad or when image picker controller finishes , use this:
In iOS 7.0, UI statusbar is transparent, To accommodate the changes in the app as with the status bar style you can use:
for Status bar to be dark while for light content use
If facing trouble with background image of View in app where the image is extending itself behind the status bar. Set the image in nib or programmatically(whichever suits you) explicitly with the dimensions on Image.
For More References on UI Changes refer this Guide by Apple. https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TransitionGuide/TransitionGuide.pdf
I used following code for solve the problem.