CallDirectoryHandler nsuserdefaults

Hi,

Does anyone know if there is anyway to debug CallDirectoryHandler with the new IOS10 extension?

I'm trtying to pass data from my app to the extenstion via nsuserdefaults,

Seems that it returns empty.


Anyone has an Idea how to pass data between my app and to this extension?

May use CoreData
Shared the sqlite file in the app group shared path:
NSString *storePath = [[self applicationDocumentsDirectoryAppGroup] stringByAppendingPathComponent:@"xxxx.sqlite"];


This may help: Sharing Data with Your Containing App
https://developer.apple.com/library/content/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html

I will give it a try, and also sqllite

Did you try it succesfully?

Yes. It is common data sharing technique between app extension and containing app.

Thanks, Gonna give it a try!

Hi Can you please let me know what's the numbers limit for each extension? For me its failing if numbers more than 50k.

CallDirectoryHandler nsuserdefaults
 
 
Q