Mandar Apte

UI/UX Designer from Mumbai, Maharashtra, India.

Category: Apple

Apple Inc. (commonly known as Apple) is an American multinational technology company headquartered in Cupertino, California, that designs, develops, and sells consumer electronics, computer software, and online services.

  • What does the Trust this Computer functionality mean, and what if you accidentally tapped on Don’t Trust this Computer and want to reset it?

    What do trust settings mean to your iOS & macOS device

    When you connect your iPhone, iPad, or iPod touch to a computer for the first time, an alert asks whether you want to trust this computer or not.

    Relationships of Trusted Devices:

    1. Trusted computers can sync with your iOS device, create backups, and access your device’s photos, videos, contacts, and other content.
    2. These computers remain trusted until you change device privacy settings or erase your iOS device.
    3. If you choose not to trust a computer, you block its access to content on your device. You’ll see the trust alert whenever you connect your iOS device to that computer.
    ios9-trust-this-computer-alert-message
    (more…)
  • How to open an Apple macOS app from an unidentified developer.

    If you are like mine, use safe macOS default settings to allow the system to run & open apps only from third-party Identified App Developers.

    You may face a problem with something like this. Your Mac’s Security & Privacy preferences will not allow you to open the app from an unidentified macOS App Developer.

    If you navigate to System Preferences > Security & Privacy > General tab, you will see something like this:

    System-Preferances-Security-and-Privacy-open-anyway

    So, how will you open that particular app blocked by the Security & Privacy Settings?


    Solution 01:
    You can change the settings available in System Preferences > Security & Privacy > General tab under Allow apps downloaded to Anywhere

    Important Note:
    This solution may not be the safest for the health of your operating system security & privacy settings.

    (more…)
  • Fix Xcode error ‘Unable to boot iOS Simulator’

    Background:

    Xcode is a one-stop development app for OSX and iOS devices, including all Macintosh Desktops, laptops, iPhones, iPads, and iPod touch.

    Note: I Assume you are on OSX Yosemite 10.10.3 or the Latest Operating System & Xcode 6 or later installed.

    With the release of Xcode 6 and later, while developing and running your iOS app in iOS Simulator on your Mac, you may encounter a bug like this: ‘Unable to boot iOS Simulator’ with a blank screen.

    Unable to boot iOS Simulator in Xcode

    Here is how to fix it

    Solution 01:

    Select iOS Simulator, then go to top Menubar > iOS Simulator > Reset Content and Settings > Reset (On command prompt, press reset)

    (more…)
  • Fix the Xcode Storyboard error. The ‘Frame for “Text View” will be different at run time.’

    The Xcode error called ‘Frame for “Text View” will be different at run time.’ is frequent when you are trying to utilise Auto Layout by using reset to suggested constraints in Xcode Storyboard.

    So here is how to fix it:

    Step 01:
    Above Debug: In your Xcode Storyboard view screen, you will have four buttons at the extreme right. Use the pin button, third from right, to add new constraints per item at the top, right, bottom, and left, and uncheck the constraint to margins.

    ios-xcode-app-storyboard-pin-debug-area
    (more…)
  • Here is how to fix if you are unable to update or install new apps from Apple AppStore on your iOS devices.

    I first faced this problem when I upgraded my iOS operating system from iOS7 to iOS8. I was unable to update my apps, and I was even unable to download new apps from the App Store or from recent purchases.

    The first time, I thought this was because of slow Wi-Fi, but to no avail after deleting the old network & adding the same network again didn’t fix my problem.

    So I called the Apple Online Support Toll Free number, and they said that this was happening because I installed a new operating system via Wi-Fi. It may cause errors because of Wi-Fi network loss or network interruptions. They said the best way to upgrade the iOS device operating system is via iTunes.

    So here is how to fix this problem if you are getting errors like unable to install updates this time, unable to download the app at this time, unable to purchase or app doesn’t exist on AppStore:

    (more…)
  • Write an iOS/iPadOS app code to transition from one screen to another.

    There are instances when you want to transition or navigate from one UI screen to another by pressing a button.

    Yes, you can link the button visually by control-clicking on it and then linking it to the required UI Screen on the storyboard.

    But I will show you how you can do it programmatically with code defined & working differently for iPad & iPhone Storyboards.

    I have used iOS Conditional coding syntax to differentiate iPhone & iPad Storyboards

    Note: You can read about iOS Conditional Coding Here, How to detect user is using iPad or iPhone for iOS App at run time conditional coding purposes

    (more…)
  • How to enable HTTP persistent or HTTP keep-alive connection feature for your WordPress website.

    As Wikipedia explains:

    HTTP persistent connection, also called HTTP keep-alive or HTTP connection reuse, involves using a single TCP connection to send and receive multiple HTTP requests/responses instead of opening a new connection for every request/response pair. The newer SPDY protocol uses the same idea and extends it to allow multiple concurrent requests/responses to be multiplexed over a single connection.

    Note: I assume you have adequate knowledge of handling your server and server settings and are well-versed in your field.

    You can put the following code in your .htaceess file, which is in the root of your server’s html folder.

    (more…)
  • How to hide the ‘Back’ button on the iOS/iPadOS App.

    You want to hide this ‘Back’ button when you transition from one screen to the next, probably the detail view screen, where Xcode automatically puts this for you without asking if you want it.

    You can copy the below code to your ‘viewDidLoad’ method in your respective file:

    Objective-C Code:

    [self.navigationItem setHidesBackButton:YES animated: YES];
    

    Swift Code:

    self.navigationItem.setHidesBackButton(true, animated: true);
    

    Hope it helps,

    Thanks & Regards
    Mandar Apte

  • How do you fix the iTunes Connect error ‘No identities are available for signing’? This error appears whenever you try to upload your iOS App binary from Xcode to iTunes Connect.

    The issue of ‘No identities are available for signing’ starts with the default behaviour of Xcode when you create a new app in Xcode itself,

    You fill up the following information in Xcode while creating a new app for iOS,

    creat new project xcode ios bundle idetifier organisation idetifier product name

    i.e. Product Name, Organisation Name, Company Identifier & it generates bundle identifier based on your inputs

    Apple, by default, forcefully inserts ‘Product Name’ into the bundle identifier without prompting or even asking the user whether they want it.

    So when you ignore this situation & start building your app…

    At the time of uploading your app to the Apple App Store through iTunes Connect, i.e. ITC, it throws the following error at you

    Error Name: No identities are available for signing

    So here is a workaround & solution for this error:

    (more…)
  • How to reset Macintosh’s Finder App Preferences.

    There are times when the OSX Finder starts acting weirdly, won’t obey your command, click, or tap, and you want to reset your Macintosh’s OSX Finder to its default setting to make it work as before, just like when you started your Mac for the first time.

    If you are using the latest Mac OSX or even OSX operating system, here is how to do it

    Delete Finder preferences using Finder

    Step 01:
    Navigate to the Preferences folder in your username’s home library folder.
    Open up the Finder window. Your User Name Home folder > Library > Preferences
    OR there is another way if your ‘Library’ folder is hidden by default
    Option-click on the ‘Go’ menu in the menu bar at the top of your screen. You will see the ‘Library’ folder link. Click or tap on it to open up your ‘Library’ folder.

    (more…)