Configure and handle Apple Push Notifications (APN)

Configure and handle Apple Push Notifications (APN)

Configuring Apple Push Notifications (APN) Here are the steps to configure Apple Push Notifications on your IOS app 1. Open project settings, Capabilities Tab 2. Turn On Push Notifications as shown below   3. For security reasons Push Notifications require appropriate SSL Certificates which can be created through your Developer Portal. Here are the steps to create the required certificates. 3 A. Login to your Apple Developer portal 3 B. Click on App IDs under Identifiers 3 C. Click on your IOS App ID entry which shows the services enabled for your app 3 D. Click the Edit button at the bottom of the screen 3 E. Turn on Push Notifications (if not already enabled) 3 F. Click the Create Certificate button under the Development SSL Certificate  3 G. Open Keychain application and Request a Certificate from a Certificate Authority as shown below 3 H. On the Certificate information add your email address, Name (make sure there are no spaces) and Save to Disk 3 I. Double click the certificate to add it to your...
Read More

Customising Navigation Bar or Header in an IOS app

Customising Navigation Bar or Header in an IOS app would involve following things Changing Background Colour Adding a logo Changing Text Colour You would need to add below code mostly to your Initial View Controller [crayon-59c674dbca713934808347/] Just add the lines as per your requirement and change the colour values as per your needs. barTintColor method defines the Tint Color to apply to the navigation bar background The tintColor combines with the translucent part of the bar along with the content behind the bar and results in some different colour. To achieve full control over the colour displayed on the navigation bar you would need to set translucent option to false for the navigation bar appearance method [crayon-59c674dbca71c004548601/] The other bit of code is self explanatory. It just applied a background colour and shows how to add a logo to your app header...
Read More