Siri request authorization in iOS swift

Solution:


            //Siri request authorization
            INPreferences.requestSiriAuthorization { (authStatus: INSiriAuthorizationStatus) in
                
            }

add the above code tot the appdelegate didfinishLaunchin method you can get the permission from the user to use siri in the iPhone.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift