Search code examples
objective-cvoipcallkit

How to make a outgoingcall by my App with CallKit in Apple proterozoic UI


I'm actully finish how to receive an incoming call and call the CallKit UI But when i'm trying to build my voip app into apple proterozoic contact list UI,it failed .Can you give me any advise?I just want like this below:

enter image description here


Solution

  • To have your app appear in the menu for the "Message", "Call", and/or "Video" buttons, you need to list the INSendMessageIntent, INStartAudioCallIntent, and/or INStartVideoCallIntent intent types, respectively, in the array for the NSUserActivityTypes key in your app's Info.plist.

    Then in your app delegate, you implement the -application:continueUserActivity:restorationHandler: (or in Swift, application(_:continue:restorationHandler:)) method to handle the received action.