Animate tab bar switches with a transition effect for UITabBarViewController.

I was searching the web for answers on how to give the CurlUp / CrossDissolve / FlipFromRight / FlipFromLeft / CurlDown / FlipFromTop / FlipFromBottom transition effect for the UITabBar Tab Switch. I found this answer, but it has a bug or a black screen when you tap on the same tab twice, i.e., the …

Hide the Navigation Bar on Scroll.

Assumption:I assume you have embedded UINavigationBar inside your Apple iOS app on Storyboard. If you want to mimic the behaviour of the Apple Safari iOS App, such as hiding the navigation bar on the scroll, you can do it in just a single line of code without any hassle. You have to add the following …

Programmatically change the UITabBar Tint Color and the UITabBar Item selected and unselected icon tint color.

Assumption:I assume you have deployed UITabBarViewController in your iOS App. Now you want to change the Tint color of the UITabBar, the Tint color of the UITabBar item, and the tint color of the UITabBar’s unselected icon. Doing this is just as simple as a single line of code. The code below will go to …

Programmatically set the icon/image for the Tab Bar Item in UITabBarViewController.

Assumptions:I assume you have already embedded in UITabBarViewController for your ViewController in Interface Builder. You also have three tab bar items with individual view controllers and created image assets with your icons. Copy the following code using your current View Controller’s ViewdidLoad method.

Programmatically change the titles of tabs in UITabBarViewController. Change the title of the Navigation Bar for each UITabBarViewController.

Let’s assume you use Tab Bar View Controller in your Xcode Project. You have embedded in your view controller with UITabBarViewController. Say you are using 3 Tab Views. In Swift programming Language, number counting starts with 0, so you will write code like this in your respective view controller’s viewDidLoad function.

Change < Back button text of iOS or iPadOS App.

While we use app development methodologies like MVC (Model, View, Controller), we encounter problems navigating from one view to another. How do you change the text of the back button, which gets populated automatically by the Apple iOS operating system? You can use the below method in the viewDidLoad method of your root view: Here …

Identify whether a user is on an iPhone or iPad and whether the device is in portrait or landscape mode.

We will explore ways to identify the user’s iPad or iPhone device. With the latest Xcode build, we will do all this in Swift Programming Language. iOS devices will be identified in four ways: .phone, .pad, .tv & .unspecified. So the code will look like this in swift Code for iOS 13, iPadOS 13, macOS …

Using SKStoreReviewController API to prompt users to write reviews for your App.

Introduction to StoreKit and Apple App Store policies I will write down a few concepts & ideas to help you understand how to implement StoreKit app review functionality in your app using Xcode. Important Points to Remember You can ask your users to rate your app on a scale of 1 to 5 stars. Users …

Colour Behaviour Study of Japan / True Black on Real Life Physical Paper & on Computer Displays or Screens

I am now documenting some thoughts about black colour behaviour on Physical Paper & computer displays or screens. I was from a BFA (Bachelor of Fine Arts) – Applied Art background, so we had subjects like Illustration, Calligraphy, Typography, Print Media Design, Logo & Symbol Design, Branding & Identity Design. We used to design our …