Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hjerpbakk/simulatorstatusmagicxamarinbindings
Xamarin.iOS bindings for https://github.com/shinydevelopment/SimulatorStatusMagic
https://github.com/hjerpbakk/simulatorstatusmagicxamarinbindings
binding csharp ios screenshots xamarin xnapshot
Last synced: about 1 month ago
JSON representation
Xamarin.iOS bindings for https://github.com/shinydevelopment/SimulatorStatusMagic
- Host: GitHub
- URL: https://github.com/hjerpbakk/simulatorstatusmagicxamarinbindings
- Owner: hjerpbakk
- License: mit
- Created: 2017-10-30T20:52:01.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T05:50:43.000Z (about 2 years ago)
- Last Synced: 2024-11-08T13:54:14.422Z (2 months ago)
- Topics: binding, csharp, ios, screenshots, xamarin, xnapshot
- Language: C#
- Homepage: https://hjerpbakk.com/blog/2018/03/12/simulator-status-magic
- Size: 200 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simulator Status Magic - Xamarin.iOS Bindings
[![Latest version](https://img.shields.io/nuget/v/Xamarin.iOS.SimulatorStatusMagic.svg)](https://www.nuget.org/packages/Xamarin.iOS.SimulatorStatusMagic/) [![Downloads from NuGet](https://img.shields.io/nuget/dt/Xamarin.iOS.SimulatorStatusMagic.svg)](https://www.nuget.org/packages/Xamarin.iOS.SimulatorStatusMagic/)
This repo contains Xamarin.iOS bindings for [Simulator Status Magic](https://github.com/shinydevelopment/SimulatorStatusMagic).
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
1. Clone the this repo.
2. Build the solution.
3. Add the DLL as a reference to your Xamarin iOS project.
4. Modify your main method to enable the magic while running in the simulator:```csharp
static void Main(string[] args) {
#if SIMULATOR
SDStatusBarManager.SharedInstance.BatteryDetailEnabled = false;
SDStatusBarManager.SharedInstance.EnableOverrides();
#endif
```## Configuration
TO BE ADDED