Post

Replies

Boosts

Views

Activity

Comment on Navigate back after saving in Swift UI
Hello,\I have a similar setup where the detailsView page can create a core data entry and save it, then I'm trying to get the screen to go back to the main view which is a table of all the data. When I use the close button it works to go back to the table, but when I use presentationMode.wrappedValue.dismiss() and save the core data object at the same time, it goes back to the table and then back to the detail view for some reason.
Jun ’21
Comment on NSUbiquitousKeyValueStore shared between Apple Watch and iPhone app
I have added iCloud, Background Modes, and Push notifications. In iCloud I have ticked Key-Value storage, then selected the container, that same as for the iPhone app Target. In watchOS 9 my watch app docent have a .plist in the folder, it just has the Info tab but I can't see anything about iCloud in there. Update: I found the entitlement file, Its the same for both. This is what it is set at for both the iPhone and Watch app - $(TeamIdentifierPrefix)$(CFBundleIdentifier)
Sep ’22
Comment on CNSaveRequest without having a container assignment
I will try the contact notes entitlement thing. I don't access a contacts notes and its when I'm creating a new contact the error occurs. [api] **Attempt to write notes by a pre-Fall-2022 app ** [plugin] ..nil group [plugin] ..h: nil group [ABCDContact] An ABCDRecord is being saved without having a container assignment. Assigning the contact to <CNCDContainer 0x60000133a7c0 ab>. (lib) Thread 1: EXC_BAD_ACCESS (code=1, address=0x49f330ba4290)
Oct ’22
Comment on CNSaveRequest without having a container assignment
You were right in having been granted Notes Field Access for my app it is now working but it has created a whole lost of problems for my app because I don't know how to manually download and install provisioning profiles as Xcode was managing the profile. I enabled it in the developer portal and it stated working but If I add 'com.apple.developer.contacts.notes' Bool YES to my app without a manual profile the app dosnt launch, but then my app won't upload to the App Store for distribution.
Dec ’22