fastlane/lib/fastlane/actions/docs/frame_screenshots.md in fastlane_hotfix-2.165.1 vs fastlane/lib/fastlane/actions/docs/frame_screenshots.md in fastlane_hotfix-2.187.0

- old
+ new

@@ -235,11 +235,11 @@ The `keyword.strings` and `title.strings` are standard `.strings` file you already use for your iOS apps, making it easy to use your existing translation service to get localized titles. **Notes** - These `.strings` files **MUST** be utf-8 (UTF-8) or utf-16 encoded (UTF-16 BE with BOM). They also must begin with an empty line. If you are having trouble see [issue #1740](https://github.com/fastlane/fastlane/issues/1740) -- You **MUST** provide a background if you want titles. _frameit_ will not add the tiles if a background is not specified. +- You **MUST** provide a background if you want titles. _frameit_ will not add the titles if a background is not specified. ### Screenshot orientation By default _frameit_ adds a frame to your screenshot based on an orientation you took it. For a portrait (vertical orientation) it is going to add portrait frame and for a landscape (horizontal orientation) - landscape left (= [Home button on the left side](https://developer.apple.com/documentation/uikit/uiinterfaceorientation/landscapeleft)). @@ -330,12 +330,29 @@ Use [_deliver_](https://docs.fastlane.tools/actions/deliver/) to upload iOS screenshots to App Store Connect, or [_supply_](https://docs.fastlane.tools/actions/supply/) to upload Android screenshots to Play Store completely automatically 🚀 ## Use a clean status bar -You can set `override_status_bar` to `true` in snapshot to set the status bar to Tuesday January 9th at 9:41AM with full battery and reception. +You can set `override_status_bar` to `true` in snapshot to set the status bar to Tuesday January 9th at 9:41AM with full battery and reception. If you need more granular customization, to set a Carrier name for example, also set `override_status_bar_arguments` to the specific arguments to be passed to the `xcrun simctl status_bar override` command. Run `xcrun simctl status_bar --help` to see the options available. +### Examples + +```ruby +# Sets the time to 9:41AM with full battery and reception, with the default carrier name: Carrier +capture_ios_screenshots( + override_status_bar: true +) +``` + +```ruby +# Set the time to 9:41AM, battery at 75% and charging, on the TELUS LTE network +capture_ios_screenshots( + override_status_bar: true, + override_status_bar_arguments: "--time 9:41 --dataNetwork lte --cellularMode active --cellularBars 4 --batteryState charging --batteryLevel 75 --operatorName TELUS" +) +``` + ## Gray artifacts around text If you run into any quality issues, like having a border around the font, it usually helps to just re-install `imagemagick`. You can do so by running ```sh @@ -343,7 +360,7 @@ brew install imagemagick ``` ## Uninstall -- `sudo gem uninstall fastlane` +- `gem uninstall fastlane` - `rm -rf ~/.frameit`