How to fix and repair anything related to iCloud, App Store, Mac App Store if not at all working correctly on Apple iPhone, iPad and Mac with just one simple solution!

After using your Apple Mac, iPhone or iPad for more than 2 to 3 years upgrading the operating system multiple times you may realise after upgrading system some features like iCloud, Mac / App Store App Downloads and Updates, Keychain Sync, Safari Passwords Sync, Contacts Sync are not working across devices.

Precautions:

1. If you are on iPhone and iPad first backup your device using Mac. And also backup your iPhone and iPad photos using Apple Photos.

2. If you are on Mac backup your Mac using TimeMachine

(more…)

Continue Reading Post

Choosing the right view between UILabel and UITextView to display text inside your iOS, iPadOS and macOS Catalyst App

The dilemma of choosing between UILabel and UITextView starts when you want to display text in your Apple iOS, iPadOS or macOS Catalyst App.

I have even gone through this process of choosing UILabel or UITextView to display text on my app.

So I have made a small numbered list to help you out to choose the right option…

Choose UILable to display text:

  1. If the text word count is small in number
  2. If Top Aligning text to the top border is not the requirement
  3. UILable is not tappable or interactive or selectable to the user’s input
  4. if you want to automatically adjust the font size and fit text to the UILabel bounding box layout

Here is Sample Code for UILabel:

(more…)

Continue Reading Post

When using UINavigationController in your iOS, iPadOS and macOS app sometimes you need to show/hide the navigation bar on a particular view and here is how to do it without disturbing the navigation bar hierarchy in your Main.storyboard file.

Sometimes you want to hide Navigation Bar from a particular view without manually deleting it from Main.storyboard,

So here I have documented how to do it programmatically instead.

Step 01: Copy the following code to your ViewController’s Swift file’s ‘viewWillAppear’ method for which view you want to hide Navigation Bar on its load on your iPhone, iPad or Mac’s (Catalyst) app screen.

override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(true)
self.navigationController?.setNavigationBarHidden(true, animated: true)
}
(more…)

Continue Reading Post

How programmatically add Fab (Floating Action Button) Button to iPhone, iPad and Mac (Catalyst) App

When Google released Material Design Guidelines they introduced many new design elements and one of them was Fab Button i.e. Floating Action Button

Normally we see the Fab button in Android Mobile Apps but a lot of Apple iPhone, iPad and Mac App Developers has started using the Fab button in their design.

Here we will see how to add the Fab button programmatically in your iOS, iPadOS and macOS app on any view including UICollectionView or UITableView.

Step 01: First declare the UIButton variable in your View Controller

var fabButton = UIButton()

Step 02: Add this code to viewDidLoad()

(more…)

Continue Reading Post

User Privacy & Data Protection Standards in new Apple iPhone, iPad and Mac Operating Systems

I was planning for long time but never implemented Google Analytics for my Apple iOS Apps to get real data about my app usage. I thought it was more of work to implement analytics in app with framework using cocoa-pods which will in a way will slowdown my app performance.

But with the news of Apple is vary serious about and already is about privacy and data collection with online ads for Safari Browser on Mac and system wide privacy settings on Apple iOS 14 for iPhone. I am happy that I never implemented third party analytics framework or never added ad network to get revenue out of my apps. My apps are already paid and I don’t want to mess-up user experience with impromptu in-app advertisements.

(more…)

Continue Reading Post

Here is how to calibrate & maximise your Mac, Apple Watch, iPhone, iPad or iPod touch battery life & performance

Introduction:

 
What is Battery life?

 
Battery life is the amount of time your device runs before it needs to be recharged.

 
What is Battery lifespan?

 
Battery lifespan is the amount of time your battery lasts until it needs to be replaced.

 

General Performance Tips & Solutions

 

  • Update your Apple device to the latest software updates & operating system:
  • Apple software updates often include advanced energy-saving technologies, so always make sure your device is running with the latest version of iOS, OS X, or watchOS.

     

  • Avoid extreme ambient temperatures: Your device is designed to perform well in a wide range of ambient temperatures, with 62° to 72° F (16° to 22° C) as the ideal comfort zone. Avoid exposing your device to ambient temperatures higher than 95° F (35° C), which can permanently damage battery capacity.
  •  
    Apple Device iPhone iPad iPod touch Temprature Comfort Zone

    (more…)

Continue Reading Post