Mandar Apte

UI/UX Designer from Mumbai, Maharashtra, India.

Articles

  • 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 the Finder app, I repeatedly received an error.

    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…)
  • Programmatically identify iPhone devices that have a notch or safe area.

    Since the iPhone X, Apple has released various sizes of iPhones with a notch.

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

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

    However, the code shared in both articles above was incompatible 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…)
  • 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 releasing the new macOS Catalina or any other Mac operating system, I sometimes prefer a 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, such as an external hard disk or solid-state drive.

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

    Once you have an account setup, 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 the ‘Choose Library’ button.

    (more…)
  • If your Mac intermittently drops the TP-Link Router’s Wi-Fi Network Connection, here is a fix.

    I know it happened to me when I purchased a new TP-Links 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.

    After trying everything, here is a list of settings 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

    Step 03: Uncheck ‘Smart Connect’. i.e. Disable the Smart Connect Feature.

    (more…)
  • Resolve Cloudflare’s ‘Invalid Domain’ error while adding a new site.

    Background:

    Cloudflare is a good web service that provides CDN, Caching, HTML – JavaScript – CSS Minifying and security from DDOS attacks free of cost.

    However, you must add your domain to Cloudflare to use this service.

    Interaction is simple. At the top of your dashboard’s navigation bar, there is a prominent button called ‘Add Site’. Clicking it transfers you to the next page, where you can copy-paste your website’s URL.

    If you are getting an error like ‘Invalid Domain’ while adding your website to Cloudflare, use this trick to bypass this error.

    If you are copy-pasting the URL with the http suffix, then you will get an error:

    // You will get error
    http://yourdomain.com

    Then you have to enter your domain without http or www, and It should look like this:

    // Success
    yourdomain.com

    The ‘Invalid Domain’ error should be resolved by now.

    I hope it helps.

    Thanks & Regards
    Mandar Apte

  • Stop email notifications for WordPress Theme and Plugin Updates.

    With the WordPress 5.5 release, you may have experienced new random daily emails you may have received for every WordPress self-hosted theme and plugin update.

    Here is how to stop email notifications for theme and plugin updates:

    Copy the code below in your domain theme’s functions.php file… It will look something like this…

    (more…)
  • In-depth Review of Matrimony Website by Suyog Ranade Vivaha, aka Shree Suyog Vivaha Mandal

    Background:

    I have written a complete, in-depth review and analysis of the Suyog Ranade Vivaha or Shree Suyog Vivaha Mandal Matrimony website that I used for 6 to 7 months, mainly on WhatsApp groups, because of bad user experience on website format. I reported the following issues to them, but they were not ready or in the right frame of mind to accept it.

    So, I just unregistered myself from their portal and exited their WhatsApp groups.

    Following are the points that I noticed about their matrimony service:

    Point 01:
    No or Failed Business Model. The matrimony section mainly runs on WhatsApp Groups of 250 people. The group is unmanaged sometimes; people post their profiles multiple times. Some people even post political or comic forwards. Because all members are in an open WhatsApp group, there is no contact number security or number privacy. Sometimes, admins or business owners post repeated WhatsApp Messages asking every user to register and pay a fee to use WhatsApp groups or websites. Admins even warn users they will remove everyone who never pays the matrimony section fee, which showcases the main point that there is no thought behind Successful Business Model or Revenue Generation.

    Point 02:
    No Privacy or Security: Because of the open group with visibility of contact numbers to everyone, users are prone to scammers and fake profiles or spam calls

    Point 03:
    Suyog Ranade Vivaha lost complete user profile data and even registered account data three times while upgrading their website and transferring the website to their new domain. They had to ask every user individually to reregister for their website repeatedly—a failed system.

    Point 04:
    Website owners had to change their Web Domain as a similar web domain was used by its competitor with a slight name difference. This shows no thought about branding or company structure. Because of this exact domain by competitors, Suyog Ranade Vivavha’s Matrimony users were registering wrongly on competitors’ websites, thinking competitors that they were the original company. This shows a loss of identity and company branding, and a loss of revenue.

    Point 05:
    As you can see in the screenshots, the website structure is broken and faulty, with buggy coding and development.

    (more…)
  • Repair User Home Folder Permissions for Mac

    I will explain how to repair your Mac’s Home Folder Permissions. This will fix any annoying repeated Finder, iTunes / Music, or application issues 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 on your Mac.

    Step 03:
    Choose Utilities > Terminal from the menu bar when you see the macOS Utilities window.

    (more…)
  • Programmatically identify device type iOS, iPadOS & macOS Catalyst.

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

    Here is how to do it.

    Use the code below to declare specifically written code, which will compile only for iOS and iPadOS.

    #if !targetEnvironment(macCatalyst)
    // Code that will execute only on iOS 13, iPadOS 13 and above
    
    #endif

    Use the code below to compile only for the macOS 10.15 Catalina Catalyst app and above.

    (more…)
  • Set UINavigation Bar Large Title Text Foreground Colour.

    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 the below line inside ViewDidLoad() to get the Large Title Foreground colour as White Colour like this:

    (more…)

Sponsors


Search