You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In initWithFrame after setting the initial statusBarFrame, need to correct the frame width because on iPad in emulation mode it gives a statusBarFrame that is too wide (at least in iOS 4.2.1)
The status bur shows up as too long when running an iPhone app in emulation mode on an iPad.
I fixed it by making the following changes:
Moved kScreenWidth define above the IsIPad macro
Changed IsIPad macro to:
In initWithFrame after setting the initial statusBarFrame, need to correct the frame width because on iPad in emulation mode it gives a statusBarFrame that is too wide (at least in iOS 4.2.1)
if( statusBarFrame.size.width > kScreenWidth )
statusBarFrame.size.width = kScreenWidth;
By the way, thank you very much for this library - it's great!
The text was updated successfully, but these errors were encountered: