myell0w / MTStatusBarOverlay

A custom iOS status bar overlay seen in Apps like Reeder, Evernote and Google Mobile App
MIT License
1.92k stars 325 forks source link

IsIPhoneEmulationMode macro broken #59

Open jfradj opened 12 years ago

jfradj commented 12 years ago

Hi,

Your Macro is broken on the new iPhone 5 (4" screen)

// macro for checking if we are on the iPad in iPhone-Emulation mode

define IsIPhoneEmulationMode (!IsIPad && \

MAX([UIApplication sharedApplication].statusBarFrame.size.width, [UIApplication sharedApplication].statusBarFrame.size.height) > 480.f)

Regards