On iOS, we have a file called info.plist. This file is a standard XML file with a funny internal format. For this operation, we strongly suggest that you open this file using a standard text editor and not the built-in editor in your integrated development environment (IDE). The reason for this is that most IDEs have a graphical user interface (UI) built on top of this file that just gets in the way of adding the small amount of XML that we want to add.
That said, let's edit the info.plist file, as follows:
- In the iOS project, open info.plist with a standard text editor.
- Add the tags marked in bold in the following code block:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIDeviceFamily</key>
<array>
...