Post

Replies

Boosts

Views

Activity

Adding Contact to Device Contacts app crashing in macOS ventura
We are using CNSaveRequest in CNContactStore to add contacts to system device contacts. But when calling execute method the app crashing in internal libraries.The code was working fine until macOS Monetery, In macOS Ventura beta we are facing this issue. Sample Code: let store = CNContactStore() store.requestAccess(for: .contacts, completionHandler: { isSuccess,error in guard isSuccess else { return } let contact = CNMutableContact() contact.familyName = "Hello" contact.givenName = "Contact" let request = CNSaveRequest() request.add(contact, toContainerWithIdentifier: nil) do { try store.execute(request) } catch { print(error) } }) Crash:
5
2
2.9k
Feb ’23
Restrict existing siri intents based shortcuts for iOS16
Hello, we are trying to implement our app shortcuts using the new App Intents framework. But the problem is existing siri intents based shortcuts also available in shortcuts app which results in duplication of shortucuts. Is there any way to restrict siri intents based shortcuts for iOS16 and only show app intents based shortcuts in Shortcuts app. We were unable to add any kind of target checks in intent definition file or info plist. Please provide any suggestions.
3
2
1.7k
Aug ’22
Adding Contact to Device Contacts app crashing in macOS ventura
We are using CNSaveRequest in CNContactStore to add contacts to system device contacts. But when calling execute method the app crashing in internal libraries.The code was working fine until macOS Monetery, In macOS Ventura beta we are facing this issue. Sample Code: let store = CNContactStore() store.requestAccess(for: .contacts, completionHandler: { isSuccess,error in guard isSuccess else { return } let contact = CNMutableContact() contact.familyName = "Hello" contact.givenName = "Contact" let request = CNSaveRequest() request.add(contact, toContainerWithIdentifier: nil) do { try store.execute(request) } catch { print(error) } }) Crash:
Replies
5
Boosts
2
Views
2.9k
Activity
Feb ’23
Restrict existing siri intents based shortcuts for iOS16
Hello, we are trying to implement our app shortcuts using the new App Intents framework. But the problem is existing siri intents based shortcuts also available in shortcuts app which results in duplication of shortucuts. Is there any way to restrict siri intents based shortcuts for iOS16 and only show app intents based shortcuts in Shortcuts app. We were unable to add any kind of target checks in intent definition file or info plist. Please provide any suggestions.
Replies
3
Boosts
2
Views
1.7k
Activity
Aug ’22
Replace option not available for WKWebView in Find and Replace
For editable WKWebView replace option is not coming after enabled the findInteraction and presenting findNavigator with showingReplace true. The same option working fine for UITextview.
Replies
0
Boosts
0
Views
1.8k
Activity
Aug ’22