Posts

Post not yet marked as solved
0 Replies
2.1k Views
I would like to access some data from CloudKit through an app extension (more specifically a watch app). In my main app I simply create my container like this: CKContainer(identifier: "myContainerID") and then call any methods on the private database In my app extension I create a container with the exact same code but when I try to call a method on the private database I get this error: <CKError 0x600003953c90: "Permission Failure" (10/2007); server message = "Invalid bundle ID for container"; uuid = 76F8A8B0-0B53-4D23-A7EB-D9982C7CE0BB; container ID = "myContainerID"> I've also doubled checked that I've got all the correct iCloud entitlements. I've also seen this question but I'm already using the solution: https://stackoverflow.com/questions/30458459/how-to-make-watchkit-extension-app-and-my-iphone-app-share-the-same-icloud-datab Thanks for any help!
Posted
by iosapps.
Last updated
.
Post not yet marked as solved
1 Replies
809 Views
I am looking to use the new PencilKit API introduced at WWDC19 in my app for annotating images. I’ve had a play with Apple’s sample app but it doesn’t show to to integrate the PKCanvas with an image. Apple uses this in their notes app to annotate images, you can see what I mean here -&gt; (https://drive.google.com/file/d/1apwaV8b7aQAjWIgAvA_oqzYlJFN4iS7n/view), (Just create a new note in the Notes app, attach an image, click on the image and then click the pencil in the top right corner to try it out). I am looking for an example in Swift.I have tried setting the PKCanvas’s background color to clear and making it non opaque and adding an image behind the PKCanvas but that does not work.Thanks for anyone's help
Posted
by iosapps.
Last updated
.