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:
Post
Replies
Boosts
Views
Activity
We have implemented AppIntents in iOS16 and the shortcuts are working fine when manually added in shortcuts app. But the shortcuts created programaticaly using AppShortcutsProvider with AppShortcutsPhrases are not at all recognized by Siri.
The AppIntents core feature is zero setup shortcuts, but it is not working as expected. Please suggest any fix for this.
Sample Code:
struct NotesShortcutProvider: AppShortcutsProvider {
static var appShortcuts: [AppShortcut] {
let shortcut = AppShortcut(intent: ShowTodayTasks(), phrases: ["Show today tasks","show my tasks today"])
return [shortcut]
}
}
Tried with applicationName as well but no luck.
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.
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.
In the latest Product object we are unable to get the price locale of the current product. Even though the display price string available with currency symbol, we need to display discount price of current product by comparing with other products.
Earlier in SKProduct we had price locale property to achieve this.But in latest Product object we are missing this.
Is there a way to get the price locale of the current storefront?. There is a countryCode property in Storefront enum. But there is no option to create locale using country code.
Hi,
We have an Mac Catalyst universal bundle app which support multiple languages(French,Spanish,German etc). But the languages are not getting displayed in Mac AppStore, only English is displayed under languages.
The related iOS app (same bundle id) showing all supported languages in AppStore. The supported languages are available in Mac system preferences under my app language settings.
We have also added the supported languages under app store connect localization
is there anything specific we need to do, to show all supported languages in mac appstore for universal bundle app?