Authorvanita.ladkat

Adding Event to Native calendar in iOS

A

Add Eventkit framework to your project //Code Snippet: EKEventStore *store; store=[[EKEventStore alloc] init]; //for iOS 7.0 and above we need to have the permission of user for using eventkit that is the calendar //ask for permission: [store requestAccessToEntityType:EKEntityTypeEvent completion:^(BOOL granted, NSError *error) { // handle access here if(granted) { //configure event: EKEvent...

Speech to text conversion in iOS

S

There are lots of Speech to text conversion techniques are available but each one have their pros and cons. The Google Speech API is more convenient. I tried lot of ways for the conversion, but Google  API is more efficient and quite easy but having insufficient documentation. I found that the API accepts flac encoded audio file, but in iOS the flac format is not supported. Finally I found the...

Handling Push Notification in iOS

H

The push notification is quite complex part to handle. Get it done in only Three easy steps 1] Register for push notification 2] Get Device token 3] Implement delegate methods to handle push notification   1] Register for push notification – (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // register for remote notification...

Category