Here is how to programmatically identify if user is on iPhone or iPad. There is also way to find out if user is on either device and if it is in portrait mode, landscape mode.

We will explore our ways to identify device of user whether it is iPad or iPhone, We will do all this in Swift Programming Language with latest Xcode build.

 
There four ways that iOS device will get identified .phone, .pad, .tv & .unspecified.

 
So code will look like this in swift

 

if (UIScreen.main.traitCollection.userInterfaceIdiom == UIUserInterfaceIdiom.pad) {
    print("It's iPad")
    // Your code here
    
} else if (UIScreen.main.traitCollection.userInterfaceIdiom == UIUserInterfaceIdiom.phone) {
    print("It's iPhone")
    // Your code here
    
} else if (UIScreen.main.traitCollection.userInterfaceIdiom == UIUserInterfaceIdiom.tv) {
    print("It's Apple TV")
    // Your code here
    
} else if (UIScreen.main.traitCollection.userInterfaceIdiom == UIUserInterfaceIdiom.unspecified) {
    print("It's Unknown Device")
    // Your code here
    
}

Continue reading “Here is how to programmatically identify if user is on iPhone or iPad. There is also way to find out if user is on either device and if it is in portrait mode, landscape mode.” »

Continue Reading Post

What is Apple Store Kit Framework and how to write code for SKStoreReviewController API which will prompt user to write review for you App while using your app & without leaving your app

Introduction to StoreKit and Apple App Store policies

 
I will write down few concepts & ideas to help you understand 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. User can also choose to write review for iOS and macOS apps.

 
Developer can view, sort and respond to reviews in iTunes Connect.

 
About Summery of Ratings

 
Every App Store app has one summary rating on product page, specific to each territory on the App Store.

 
Developer can reset your app’s summary rating with release a new version of app.

Continue reading “What is Apple Store Kit Framework and how to write code for SKStoreReviewController API which will prompt user to write review for you App while using your app & without leaving your app” »

Continue Reading Post

My new venture into selling Stock Photography on 500px.com

From the start of being student of BFA (Bachelor of Fine Art) – Applied Art & even before that when I started with automatic film camera I was trying to be good photographer or may be I was.

 
Last year of my graduation I bought Canon A520 Point & Shoot camera & using that camera I shot almost 6,500 i.e. Six Thousand Photos over span of 10 Years. Plus photos taken from Mobile Phone Camera that may count more than another 2,000 i.e. Two thousand Photographs.

 
In Year August 2016 I bought iPhone. Using my latest iPhone I just shot another 2,200 Photos plus Slo-mo, Time-lapse & Videos in just 9 Months.

 
So with this collection more than 10,000 Photos I have decided to post it on Flickr & more importantly on 500px.com profile of mine so that I can sell them as stock photography & fetch some price for my work.

Continue reading “My new venture into selling Stock Photography on 500px.com” »

Continue Reading Post

How to fix if ‘My Photo Stream’ is not working on your Apple iOS Devices including iPhone, iPad and iPod touch

I have jot down few points to check why My Photo Stream is not working in your iOS Device & syncing Photos across iOS & OSX devices.

 
Solution & Few Check Points:

  1. You are sign in to iCloud using your preferred active Apple ID
  2. ‘My Photo Stream’ is checked & on your device under iOS Settings App under iCloud Photos related Section
  3. Continue reading “How to fix if ‘My Photo Stream’ is not working on your Apple iOS Devices including iPhone, iPad and iPod touch” »

Continue Reading Post

Why you should turn off My Photo Stream on all of your Apple iCloud Enabled Devices including MacBook, MacBook Pro, iMac, Mac Mini, iPhone, iPad and iPod touch

I have just turned off Apple iCloud’s Photos App related feature called ‘My Photo Stream’.

 
Apple iCloud Photos Settings on Macintosh OSX Desktop & Laptop

 

 
Apple iCloud Photos Settings on iOS, iPhone, iPad, iPod touch

 

 
My Photo Stream suppose to help every Apple user with multiple Mobile / Handheld devices like iPhone / iPad & iPod touch to collects all photos taken from camera & collects under one folder called ‘My Photo Stream’ in the cloud on Apple Servers.

Continue reading “Why you should turn off My Photo Stream on all of your Apple iCloud Enabled Devices including MacBook, MacBook Pro, iMac, Mac Mini, iPhone, iPad and iPod touch” »

Continue Reading Post

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

I am hereby documenting few of my thoughts about black colour behaviour on Physical Paper & on Computer Display or on Screen.

 
I was from 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 use to design our assignments using Japan Black ink which is vary dark in contrast & which creates high contrast reach feeling of black colour tone on white paper.

 
So when we print our designs done in Adobe Illustrator or CorelDraw we use to fill the design with (CMYK) Cyan: 100%, Magenta: 100%, Yellow: 100%, K(Black): 100% than using only K: 100%. This CMYK values use to create high contrast Japan Black ink fill on White Paper.

 

Continue reading “Colour Behaviour Study of Japan / True Black on Real Life Physical Paper & on Computer Displays or Screens” »

Continue Reading Post