shinydevelopment / SimulatorStatusMagic

Clean up your status bar for taking screenshots on the iOS simulator.
MIT License
2.35k stars 140 forks source link

Make battery detail string (100%) always visible on iOS 10 #44

Closed 0xced closed 8 years ago

0xced commented 8 years ago

Use the same technique as previous iOS versions, i.e. override itemIsEnabled for the battery detail string. Setting overrideBatteryDetailString = 1 was not enough for iPhone simulators to get the "100%" string displayed.

I also renamed all StatusBarRawData and StatusBarOverrideData fields with names from class-dump.

daveverwer commented 8 years ago

Thanks so much Cédric, the change to the class dump names is fantastic! I'll do a release to CocoaPods right now.

0xced commented 8 years ago

Wait a minute before the release, there’s another missing piece! I’m submitting a new pull request right now.

daveverwer commented 8 years ago

Standing by 👍