https://github.com/below/fullscreentest
A simple sample project for extended height status bars
https://github.com/below/fullscreentest
Last synced: 6 months ago
JSON representation
A simple sample project for extended height status bars
- Host: GitHub
- URL: https://github.com/below/fullscreentest
- Owner: below
- Created: 2013-06-14T22:22:54.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-06-14T22:48:01.000Z (almost 13 years ago)
- Last Synced: 2025-03-21T05:44:00.038Z (about 1 year ago)
- Language: Objective-C
- Size: 110 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FullScreenTest
## A simple sample project for extended height status bars
This project contains a very simple, full height application.
My question is: What is the best practice to handle an extended height status bar, i.e. with the extra status bar presented when a phone call or a VoIP app is present, or when the personal hotspot feature is activated?
Is the `UIApplicationWillChangeStatusBarOrientationNotification` notification (or the corresponding delegate method of `UIApplication` the right way to do it, or am I overlooking something obvious?
## To try
The easiest way is just to enable the personal hotspot, or to start an app which records audio in the background.
Then start this app on a phone. In the simulator, you can start the app, and simulate an incoming phone call.
You will see that the text is hidden. In non-fullscreen apps, this is handled automatically by the system, by resizing the view controllers view frame. This does not seem to be the case if `wantsFullScreenLayout` is set to `YES`