Awesome
Simulator Status Magic - Xamarin.iOS Bindings
This repo contains Xamarin.iOS bindings for Simulator Status Magic.
Simulator Status Magic modifies the iOS Simulator so that it has a perfect status bar, then run your app and take perfect screenshots every time. The modifications made are designed to match the images you see on the Apple site and are as follows:
- 9:41 AM is displayed for the time.
- The battery is full and shows 100%.
- 5 bars of cellular signal and full WiFi bars are displayed.
- Tue Jan 9 is displayed for the date (iPad only)
And the library is configurable to fit all your status bar needs.
Usage
- Clone the this repo.
- Build the solution.
- Add the DLL as a reference to your Xamarin iOS project.
- Modify your main method to enable the magic while running in the simulator:
static void Main(string[] args) {
#if SIMULATOR
SDStatusBarManager.SharedInstance.BatteryDetailEnabled = false;
SDStatusBarManager.SharedInstance.EnableOverrides();
#endif
Configuration
TO BE ADDED