Patch: Hide the statusbar since the first second
Monkey Targets Forums/iOS/Patch: Hide the statusbar since the first second| 
 | ||
| I'll keep it short ... Problem: The statusbar is hidden in "application.didFinishLaunchingWithOptions" and thus the bar is visible for the first seconds. Patch: Gist Let me know if there is something wrong or broken. I'm happy for any feedback :) All the best, Michael | 
| 
 | ||
| How do I use it? Sorry it its a dumb question! | 
| 
 | ||
| You edit the plist file in \MonkeyPro\targets\ios. | 
| 
 | ||
| Or simply with this one-liner: patch -p0 <<(curl -s https://raw.github.com/gist/3318396/00308960130f4363dcfa7f22f26d56cc63edd3ee/statusbar.patch) | 
| 
 | ||
| I tried this but the statusbar is still visible! Should I restart my computer? | 
| 
 | ||
| No, but this does not work for already built projects (because the important file will only be created once). So a) you remove the whole XX.build/ios folder or b) you just enter the two lines manually :) 1) Close XCode if running 2) Add <key>UIStatusBarHidden</key> <true/>to XX.build/ios/MonkeyGame-Info.plist 3) Reopen XCode and you're done :) |