My Solution to my year-long back pain and health issues

Since I started my health and fitness journey, I have been facing issues with tremendous back pain and mobility.

As you may have guessed already, I started walking, but the pain was not going anywhere whatever I did.

I took physiotherapist assistance, machine exercises, long distance and long time walking but with no relief.

But one day, I just turned off the air conditioner for the whole night in my room for one or two weeks, and somehow, my back muscle was relieved, and I had no pain or muscle stiffness issues. But after that week, I turned on the air conditioner for the next three-four days, and the back pain was back again.

Continue reading “My Solution to my year-long back pain and health issues”

With the release of macOS Big Sur & macOS Monterey, the user cannot format External Hard Disk to ‘Mac OS Extended (Journaled, Encrypted)’ format as there is no option to do the same.

With the release of the macOS Big Sur Mac Operating System, Apple has removed the option under Disk Utility to allow users to format External Hard Drive to Mac OS Extended (Journaled, Encrypted) format.

There is only one option for Mac OS Extended (Journaled) but no choice with encryption. It only allows users to format Hard Disk with Apple File System APFS without encryption, with encryption & with case sensitivity.

Continue reading “With the release of macOS Big Sur & macOS Monterey, the user cannot format External Hard Disk to ‘Mac OS Extended (Journaled, Encrypted)’ format as there is no option to do the same.”

In-depth Review of Matrimony Website by Anuroop Wiwaha (anuroopwiwaha.com)

I have used the Anuroop Wiwaha Matrimony Website for the last four to five years. In addition, I have extensively used their mobile Apple iPhone app and website for my bride search. As a result, I discovered a few points that Anuroop Wiwaha Portal / Company improved upon to help the community get the right matrimony match for their search.

Observations:

Few Points that they can improve on.

Mobile App & Website Portal:

  1. At every event, they talk about having 20,000 Profiles / Accounts of the bride and groom registered on their portal. An average Anuroop Wiwaha account cost is INR 5,000/-.
  2. The user (Bride or Groom) can’t register with a free account as they don’t support free accounts. The user must pay an account fee upfront before registering to the portal. So it gives assurance that the user is at least serious about their search, and even the user has to submit identity proof within seven days of registration. So in a way, it eliminates the possibility of fake accounts or fraud.
  3. Even with this money of 20,000 Accounts * 5,000 Fee, the Bride or Groom Search is cumbersome and hectic. The mobile app is not full fledge as compared to a web portal. They use non-native software technologies for the Apple iPhone app, which takes minutes or sometimes fails to load content and data.
Continue reading “In-depth Review of Matrimony Website by Anuroop Wiwaha (anuroopwiwaha.com)”

Here is how to apply UIVisualEffectView & UIBlurEffect to UITableView, UITableViewCell, UICollectionView, UICollectionViewCell, UIView / View in your Apple iOS / iPadOS or macOS Catalyst App.

As Apple describes UIVisualEffectView & UIBlurView in its support document as follows:

Depending on the desired effect, the effect may affect content layered behind the view or content added to the visual effect view’s contentView. Apply a visual effect view to an existing view and then apply a UIBlurEffect or UIVibrancyEffect object to apply a blur or vibrancy effect to the existing view. After you add the visual effect view to the view hierarchy, add any subviews to the contentView property of the visual effect view. Do not add subviews directly to the visual effect view itself.

So in simple words, you don’t have to use Adobe Photoshop to get a blur effect and fake superimpose on your UIView instead, you can get the same effect programmatically for every situation without any hassle.

Note: If you are using UIVisualEffectsView in your app I would strongly suggest you use a system setting called ‘Reduced Transparency’ to condition code it. If the user doesn’t want transparency or Blur or Vibrancy effect for all of the apps in his iPhone or iPad or Mac he can just do it with a single switch in the settings app. Another note view that you are applying effect should preferably be the Popover View Controller. Another thing is to remember to replace the below blue color with the UIColor of your choice with alpha channel transparency.

For UITableView and UITableViewCell, use the following code in your UITableViewController’s viewWillAppear function:

Continue reading “Here is how to apply UIVisualEffectView & UIBlurEffect to UITableView, UITableViewCell, UICollectionView, UICollectionViewCell, UIView / View in your Apple iOS / iPadOS or macOS Catalyst App.”

Here is how to add a mouse hover effect / UIPointer Interaction to your UITableViewCell, UICollectionViewCell, UIButton, UIView using Swift

As Apple describes Pointer Interactions in its support document:

Pointer Interactions: Support pointer interactions in your custom controls and views.

iPadOS 13.4 introduces dynamic pointer effects and behaviors that enhance the experience of using an external input device, like a trackpad or mouse, with iPad. As people use an input device, iPadOS automatically adapts the pointer to the current context, providing rich visual feedback and just the right level of precision needed to enhance productivity and simplify common tasks.

Note: UIPointer Interaction is only related to iPad / iPadOS app

Initial Step: Add ‘UIPointerInteractionDelegate’ in your View Controller’s Class Declaration

For UIButton:

Out-of-Box Implementation:

button.isPointerInteractionEnabled = true

UIView and Custom Implementation for UIButton:

Continue reading “Here is how to add a mouse hover effect / UIPointer Interaction to your UITableViewCell, UICollectionViewCell, UIButton, UIView using Swift”

Programmatically get iOS, iPadOS, macOS Catalyst Operating System Name and Version and a model identifier of iPhone, iPad, and Mac devices.

Programmatically get iOS, iPadOS, macOS Catalyst Operating System Name and Version and a model identifier of iPhone, iPad, and Mac devices.

Here is a simple way to programmatically get the operating system name and version of your iOS, iPadOS and macOS.

The below code will also return the value of the iPhone, iPad and Mac Model identifiers to help you know if it’s MacBook or iMac in a Mac case or iPhone 11 Pro or iPhone 13 Pro etc.

Step 01: First import IOKit, It is only required for macOS Catalyst app-specific code.

Continue reading “Programmatically get iOS, iPadOS, macOS Catalyst Operating System Name and Version and a model identifier of iPhone, iPad, and Mac devices.”

Get your Apple iOS (iPhone), iPadOS (iPad) and Mac Catalyst app Version and Build number programmatically.

Here is a small function that I have written that you can use in your iOS, iPadOS or macOS Catalyst app to get your app’s current version and build number and print it on screen whether will on the app’s about or support view.

Function: copy the below function in the Xcode project’s UIViewController Swift class file.

Continue reading “Get your Apple iOS (iPhone), iPadOS (iPad) and Mac Catalyst app Version and Build number programmatically.”

Reset the Bluetooth module using the Terminal app on your Mac

Here is the simplest way to reset the Bluetooth module on your mac if you are facing any issues using your Bluetooth mouse (Magic Mouse) or Bluetooth keyboard (Magic Keyboard).

This command will reset Bluetooth on your mac then it will connect back to all Bluetooth devices again after the reset.

Step 01: Open the Terminal app from your Mac’s Applications > Utility folder.

Step 02: Now copy-paste the below command in the terminal to reset Bluetooth on your mac

Continue reading “Reset the Bluetooth module using the Terminal app on your Mac”

How to save your contact’s WhatsApp Profile Photo

A few years ago WhatsApp was allowing WhatsApp Mobile / iPhone / Android and Mac app used to save any contact’s profile photo by clicking on the action sheet button and then tapping save.

But then WhatsApp removed that button.

But somehow one trick works.

Assumption: We assume that you have connected WhatsApp iPhone & Mac apps. You have already added your WhatsApp mac app to your iPhone number by scanning a QR code.

Step 01: Choose any of your WhatsApp contacts.

Step 02: Click on their name or photo at the top header or navigation bar.

Continue reading “How to save your contact’s WhatsApp Profile Photo”