How to detect user is using iPad or iPhone for iOS App at run time conditional coding purposes

At runtime, you want to detect whether the user is on an iPad or an iPhone for conditional coding purposes. One requirement is to find the device’s screen size on an iPad, iPhone, or iPod touch. Another way to do it is to write different code, i.e., conditional code per device, whether it be an …

How do you add a button beside the back button, which is usually required in the details view of the table or UI View Controller of your iOS app for your Apple Xcode Project?

It always occurs when you are using the table view controller in your iOS Xcode project & when you navigate from the table view cell to the detail view of your app in the storyboard on the iOS Simulator or the actual device, the ‘Back,’ button Appears at the top left. What if you want …

How programmatically change the global Tint Colour of your iOS App in the Xcode project. i.e. Changing all UIBarButtonItems tint colours at once.

You may wonder how to programmatically change the global Tint Colour of your iOS App in the Xcode project. i.e. Changing all UIBarButtonItems tint colours at once Without selecting every single button & changing the tint for every single one & for the buttons added after that. Here is the solution. As simple as a …

How to add four or more UIBarButtonitem at navigation bar with custom image through code?

I assume you have gone through an earlier article related to this topic called: How to add four or more navigation bar buttons in your iOS App XCode Project Background:Now you will be wondering how you can add a fourth button to the navigation bar of your iOS app with a custom image through code …

How to add four or more navigation bar buttons in your iOS App XCode Project

I assume that you have added a navigation controller through Editor > Embed In > Navigation Controller in the xib (or formally nib) file in your XCode Projects’ Storyboard Problem:For example, you have added an Action button for Tweet Sheet on the Left, a Menu button on the right, and a Title button in the …

Checking the ‘.plist’ file for errors and bugs. This post will help you when you want to add or edit data inside the .plist file, which gives an error message: ‘The data couldn’t be read because it isn’t in the correct format.’

Suppose you are from the iOS Design and development community. In that case, you may already be familiar with using Apple’s list, i.e. Property List file functionality, whereby you store your data in an XML file type (Apple’s list file format). Adding 1,000 lines of code in the list file is painful, so what you …

Managing Apple ID for your Apple Devices for Maximum Online Security & Peace of Mind. Manage your Apple ID & Communication preferences with minor tweaks & changes.

Nowadays, every other person we meet on the street has a smartphone, tablet, or phablet, and we all have laptops in our bags and desktop computers at home and in the office. So, data security between devices is a big issue now. Let’s see: For Apple Products users in the Apple iOS and OSX ecosystem, …

Indent Multiple Lines of Code on Mac using Xcode. Fix Code Tab Indention on Mac using XCode?

The problem is when you have flat multiple lines of code & you want all of the code indent in one click of a button without going through every word or line by pressing the button ‘Tab’. So I put down few notes containing tutorial to how to indent multiple line of code within one …

How to write Language C or C++ Program on Macintosh OSX using Xcode

I assume that you are on latest Mac with Xocde 5 or later already installed on your mac from Mac App Store. SO here is how to write Language C or C++ Program Code on Macintosh OSX using Xcode. Note: Writing a C or C++ specific code only differs on Step 05 every other step …

If you are getting error while updating your Credit Card or Debit Card details under your iTunes Store Account Payment Option then here is solution to that problem. Error Code & Symptoms: ‘Your payment method was declined. Please enter valid payment method information.’

If you are getting the following Error: ‘Your payment method was declined. Please enter valid payment method information.’ I contacted Apple iTunes Support on their Support page; here is the answer I received from them.