Let’s know what is Restrictions:
Restrictions on iOS is also known as parental control.
You can turn on Restrictions on your iOS device to prevent access to specific apps and features.
You can disable hide specific apps or features to child lock or prevent particular user to access Safari, Camera, FaceTime, iTunes Store, iBooks Store, In-App Purchases, Siri, AirDrop, CarPlay, Installing apps from Apple App Store, Deleting apps.
You can also block changes or availability of types of content for specific user including Ratings, Music and podcasts, Movies, TV shows, Books, Apps, Siri, Websites etc.
I will explain below how to set background color to UIimage while developing app for iOS.
Assumptions: I assume that you have already created Xcode project for iOS app development & you are using storyboards for developing the same. Also you have dragged UIimage View to your current ViewController.
Step 01: Now connect your UIimage View to your ViewController.swift file with code something like this
@IBOutlet weak var selectImage: UIImageView!
Step 02: Now in your desired function set your UIimage’s background color with following code using dot operator
Let’s get started & know what is the exact requirement before we proceed for solution.
Assumption: I assume that you want to have Status Bar text colour to be white as your Navigation Bar background is in dark colour. I also assume that you are developing your iOS app with latest version of iOS 9 or higher & latest version Swift & Xcode
Step 01: Click on your Project icon in your ‘Project Navigator’ tab in your respective projects left panel ‘Navigator’ tab.
Step 02: Select your project title under ‘Targets’
Step 03: Select ‘Info’ tab
Let’s get to the root of this topic,
Case: A case where you are developing your iOS app & you want to use your custom colour to colorise global tint colour for text & icon in your respective app & you also want to change tint & bar tint colour for Navigation Bar / Tab Bar / Tool Bar in your app.
Assumption: I assume you are well worse with iOS development in Xcode, You have embedded navigation controller to your app storyboard’s respective view controller & you have added tab bar view controller or dragged toolbar to your app’s view controller. I also assume you are using Swift as your programming language.
Note: You will have to copy following code in your iOS App’s AppDelegate.swift file’s ‘didFinishLaunchingWithOptions’ function while developing the same app in Xcode.
As discussed in earlier blog post you may have already activated Family Sharing for your account you may be the Family Organiser or Family member of your family sharing group. But you may be wondering why content is not automatically start downloading from iTunes once you are part of the family sharing or am I doing something wrong.
Actually here is a tweak what may you have to do before you are ready to download the content.
I assume you are on your Mac with latest OSX Operating System installed.
One of the best feature of owning the Mac or any iOS device with Apple ID is that you can setup your family sharing with your account so that family head can share his credit / debit card purchases within his family members.
Apple allow to setup family sharing up to six members.
Family head with adult age can approve or buy app, songs, ebooks for his family member so that no duplicate purchase would be made of same digital content which leads to financial savings.
Here is what Apple say about it’s Family Sharing feature: Family Sharing makes it easy for up to six people in your family to share each other’s iTunes, iBooks, and App Store purchases without sharing accounts. Pay for family purchases with the same credit card and approve kids’ spending right from a parent’s device. And share photos, a family calendar, and more to help keep everyone connected.
Here is in detail how to setup ‘Family Sharing’:
While developing apps for OSX or iOS you will be wondering how to disable IBAction button programatically.
Here is how to do it.
Assumption: I assume you are using Storyboards for developing your apps within Xcode.
Step 01: Drag UIButton (iOS) or NSButton (OSX) on Storyboard. I Also assume that you have dragged three buttons on storyboard & you have named it as Start, Pause & Reset.