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

How to blink a button iOS swift?

Convert NsNumber, NSDate to String in iOS Swift

Parse the value from string value iOS swift