How to convert colorful screens to black and white in Xcode 8 Beta


When enabled, the Always-on Display in Xcode 14 Beta converts colorful screens to black and white, according to developer rhogelleim. This is the Always-on Display function. 


How to convert colorful screens to black and white in Xcode 8 Beta

In the latest Xcode 8 Beta, Apple has made some changes to how colors are displayed. In order to convert colors from RGB to CMYK or back again, developers have added the ability to choose whether or not to show colors in their original form or in black and white. This can be useful if you’re trying to keep colors clean and simple, or if you’re just trying to get an accurate preview of how your design will look in print form before exporting it to PDF.

1) Open the project with .xcodeproj file
To open the project with the .xcodeproj file, first make sure that you have the latest version of Xcode installed. Then, launch Xcode and choose File > Open. In the Open dialog, navigate to the location of your .xcodeproj file and click Open.
Once your project has been opened, you'll need to select the target device that you want to run your app on. To do this, open the Devices window by choosing Window > Devices from the menu bar. In the Devices window, select a device from the Available section and click the Use for Development button.
Now that you've selected a target device, you're ready to build and run your app.

2) In General panel, make sure Use Storyboards is checked
In the General panel, make sure Use Storyboards is checked. This will give you the option to select which storyboard file to use for your project. If you're using multiple storyboards, you can also choose which one to use as the initial view controller. If you're not using storyboards, you can still convert your project to use them. To do this, open the project settings and select the Use Storyboards checkbox.

3) Uncheck Assertion Behavior
To uncheck Assertion Behavior in Xcode 8 Beta, first open the Scheme Editor by clicking on the Scheme dropdown menu at the top of the window. Next, select Edit Scheme from the resulting menu. Once the Scheme Editor opens, select Run from the left panel. Finally, uncheck Enable Assertions in the bottom right corner of the window.

4) Under Debugging select Show Color Blended Layers
Open the project you want to debug in Xcode 14. Select the Debug drop-down menu at the top of the window. In the Debug menu, select Show Color Blended Layers. This will display a color-coded map of your app's interface, making it easier to identify UI issues. To disable this feature, simply deselect Show Color Blended Layers from the Debug menu.

5) Go to any view controller you want. Select Simulate Document from the drop down menu. That’s it!
Do you want your iOS app to have a more classic look? If so, you can now easily convert any view controller's screen from its default color scheme to black and white.