I am using this method to ask user for the calendar permission requestAccessToEntityType:EKEntityTypeEvent completion:^(BOOL granted, NSError *error)
but what i want is that when user clicks on Button
named as GrantPermission
, then the permission should be granted without showing the alertView
which is of IOS builtin, is there any way to do this?
I want to do this because when user clicks on Dont Allow
then i show a alertView
which says that user have to manually turn on permission from settings and when user manually turns on this permission then the app crashes.