Clicky

iOS Dev Nugget 25 Watch out for hotspot and in-call status bar height

.

Need to run a code review on your codebase? Hire me

When your iPhone is acting as a Wi-Fi hotspot or there is an ongoing phone call, iOS will show a status bar right below the standard status bar at the top. iOS will automatically resize the current view's height to compensate. Your app needs to be ready to handle this by setting the autoresizingMask property of your views appropriately. You can simulate the appearance of the in-call status bar in the simulator using Hardware > Toggle In-Call Status Bar.


Your feedback is valuable: Do you want more nuggets like this?   Yes   or   No

.

.

Like this and want such iOS dev nuggets to be emailed to you, weekly?

Sign Me Up! or follow @iosdevnuggets on Twitter

.

View archives of past issues