Apple Music Error [Solved] – Some items, including “Song’s Title”, were not copied to the iPhone “John Appleseed’s iPhone 11 Pro” because they could not be found.

After I started syncing my Apple Music to my iPhone via Finder app there was an error that I was getting over and over again.

The error was ‘Some items, including “Song’s Title”, were not copied to the iPhone “John Appleseed’s iPhone 11 Pro” because they could not be found.’

(more…)

Continue Reading Post

How to programmatically identify if Apple iOS (iPhone) device has a notch or safe area

Since iPhone X, Apple is releasing various sizes of iPhone with a notch.

So Identifying new iPhones that have a notch or doesn’t is a new problem for every Apple App Store App Developer. e.g. Apple has just released in 2020 with iPhone 12, Pro, Pro Max and Mini that are not similar in screen dimensions of previous generations of iPhone 11.

After reading and surfing the web I found two helpful articles on the web that will guide you to solve this problem one post was on Stack Overflow and another article by @cafielo.

But code shared in above both articles were not compatible with new Apple iOS versions 13 and 14.

So I rewrote those code that may be compatible with Apple iOS 13 and 14 operating system.

(more…)

Continue Reading Post

How to import iTunes Music Library into Apple Music after a clean install of macOS Catalina on your new computer while keeping intact play counts and star ratings for respective songs and albums.

After the release of new macOS Catalina or any other Mac operating system I sometimes prefer clean install of the latest operating system on my iMac / MacBook / MacBook Pro or Mac Pro.

I back up all of the current user home folders on external storage or external hard disk or external solid-state drive.

Once the operating system is installed on ‘Macintosh HD’ and admin user account created on Mac now it’s time to start transferring data from the external drive to Mac’s user home folder.

Once you are ready with account already setup then follow these steps to transfer music.

Step 01: Copy your old ‘iTunes’ folder to your user’s Music folder located at e.g. User > Music > iTunes

Step 02: Hold down the ‘Option’ key while opening the Apple ‘Music’ app from the dock or application folder. You will be presented with a dialogue box called ‘Choose Music Library. Now click on button ‘Choose Library’.

(more…)

Continue Reading Post

Here is a fix if your Mac is dropping TP-Link Router’s Wi-Fi Network Connection intermittently

I know it happened with me when I purchased new TP-Links’s brand new router. But after setting up the router with my ISP (Internet Service Provider) my Mac / iMac / MacBook / MacBook Pro / MacBook Air / Mac Mini started dropping connection intermittently every 5 minutes or every 2 minutes or so.

After trying everything here is a list of settings that I used to get a stable connection from my router to my Mac.

Step 01: Sign in to your Router’s Admin Page

Step 02: Navigate to Wireless or Advanced > Wireless > Wireless Settings

(more…)

Continue Reading Post

Here is how to fix if Google Hangout’s camera or microphone not working on Apple Mac’s Safari Browser. This steps will also fix every issue for any website on your mac.

If you are having trouble while using Google Hangout or any other website that requires microphone and camera access. Then you can use the following steps to enable microphone and camera access to your respective website.

 
For example purposes we choose Google Hangout Website:

 
Step 01: On Apple Safari Browser, First sign in to your Google Hangout using this link – https://hangouts.google.com

(more…)

Continue Reading Post

How to Repair Permissions for your Mac’s User Home Folder

I will explain how to repair your Mac / Macintosh’s Home Folder Permissions, It will fix any annoying repeated Finder, iTunes / Music or any application issues you are having on your Mac.

 
Follow these steps to reset permissions:

 
Step 01: Turn on or restart your Mac and immediately press and hold ‘Command (⌘) R’ to start up from macOS Recovery.

 
Step 02: Enter the firmware password or administrator password if prompted of your Mac.

 
Step 03: When you see the macOS Utilities window, choose Utilities > Terminal from the menu bar.

(more…)

Continue Reading Post

How conditional code for and identify device between iOS (iPhone), iPadOS (iPad) & macOS Catalyst (Apple Macintosh)

If you are developing macOS catalyst app then you may be wondering how to conditionally write code specifically for iOS and iPad OS or macOS 10.15 catalyst app.

 
Here is how to do it.

 
Use below code to declare code specifically written and that will compile only for iOS and iPadOS.

(more…)

Continue Reading Post

Here is how to set UINavigation Bar Large Title Text Colour (Foreground Colour) in iOS 11, 12, 13 and above

Here is how to set UINavigation Bar Large Title Text Colour (Foreground Colour) in iOS 11, 12, 13 and above,

 
Declare Navigation Bar Title Text & Large Title Settings like this in your View Controller’s ViewDidLoad() Method:

 

self.navigationItem.title = "Home"
self.navigationController?.navigationBar.prefersLargeTitles = true
self.navigationController?.navigationItem.largeTitleDisplayMode = .automatic

 
Now write below line inside ViewDidLoad() to get Large Title Foreground colour as White Colour like this:

(more…)

Continue Reading Post

Here is how to do UIImageView Image Inset in Apple iOS App using Xcode

Here is example if you want to inset UIImageView so that image does not fit edge to edge of the UIImageView

 
Note: Use of latest version of Xcode & Latest version of Swift Programming Language is preferred.

 
Here is step by step procedure to achieve designed result:

 
Step 01: Create Apple iOS Project in Xcode. Add UIImageView to View Controller in Storyboard.

 
Step 02: Now Connect that UIImageView to View Controller Swift File. It will look something like this.

 

@IBOutlet weak var imageView: UIImageView!

 
Step 03: Now add following code in ViewDidLoad Function of your View Controller File.

(more…)

Continue Reading Post

Here is how to animate Tab bar tab switch with a CrossDissolve slide transition in UITabBarViewController!

While searching for answer on web for how to give CurlUp / CrossDissolve / FlipFromRight / FlipFromLeft / CurlDown / FlipFromTop / FlipFromBottom transition effect for UITabBar Tab Switch.

 
I found out this answer but with bug or black screen when you tap on same tab twice i.e. destination and current tab is same.

 
So I solve this issue with my logic and additional if and else statement.

 
So here is final answer without any bug.

 

Step 01: Add this two classes as Super Class to your UITabBarViewController

 

UITabBarController, UITabBarControllerDelegate

 

Step 02: Now add following code to your viewDidLoad Function in your UITabBarViewController

 

self.delegate = self

(more…)

Continue Reading Post