UITabBar.appearance().tintColor = UIColor.white
UITabBar.appearance().barTintColor = UIColor.white
UITabBar.appearance().backgroundColor = UIColor.white
self.tabBarController?.tabBatbar.TintColor = UIColor.white
self.tabBarController?.tabBatbar.barTintColor = UIColor.white
self.tabBarController?.tabBatbar.backgroundColor = UIColor.white
-
Method 1
-
Right Click on
info.plist
-
Select
Open As
>Source Code
-
Copy & Paste
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>
-
-
Method 2
- Select
info.plist
- Right Click & Choose
Add Row
- Select
App Transport Sercurity Settings
- Click the arrow to make it down as a Dictionary
- Press
+
& ChooseAllow Arbitary Loads
- Set the boolean value from default NO to
YES
- Select
- Under Development
Right click on
info.plist
& selectOpen As
>Source Code
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>NSCameraUsageDescription</key>
<string>Allow to access camera</string>
<key>NSMicrophoneUsageDescription</key>
<string>Allow to access microphone</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>Allow to add media into photo album</string>
<key>NSPhotolibraryusageDescription</key>
<string>Allow to access photo album</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>Allow to access user location</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Allow to access user location</string>