Post

Replies

Boosts

Views

Activity

Reply to A serious bug in PencilKit that make all apps with PencilKit useless in iOS16
I am the developer of Pencil it in, also an indie and pretty worried about this. I haven't downloaded Xcode 14 yet so I can't test, but I have a feeling the issue is in the backing CAMetalLayer, since it only happens when writing, possibly related to drawableSize. If you have Xcode 14, it might be worth building and logging the drawableSize or other CAMetalLayer properties (bounds, frame, ...) between iOS 15/16. Getting a reference to the metal layer can be a bit tricky; it's within a private view. The hierarchy is PKCanvasView -> PKTiledView -> PKMetalView. You can access it with something like: for v in canvasView.getAllSubviews() { for l in v.layer.sublayers ?? [] {     if let metalLayer = l as? CAMetalLayer {         print("Layer is ", metalLayer)          }      } } Where the helper function getAllSubviews() can be found on Stack Overflow I will keep this forum updated on any progress made and would appreciate anyone else experiencing this do the same.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’22
Reply to Calendar List is empty after authorization
I don't know if it's a bug or not but store.reset() does not seem to actually reset the store like the comments suggests, It essentially is as if you released the store and then created a new one. It brings it back to its initial state. If we actually do create a new store, the issue seems to be resolved. So the access handler should look something like this: store.requestAccess(to: .event) { (granted, error) in if granted { self.store = EKEventStore() ... } I found the answer on this post. Stack Overflow - https://stackoverflow.com/questions/58873603/ekeventstore-calendars-is-always-empty-after-clean-install.
Topic: App & System Services SubTopic: General Tags:
Apr ’21
Reply to No analytics for product page optimization
This keeps happening to me. Did you ever find a fix?
Replies
Boosts
Views
Activity
Sep ’24
Reply to Thread1:Fatal error: Container does not have any data stores
I was getting this error after calling modelContainer.deleteAllData(). If you are calling that, try removing it.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Unable to load CloudKit CoreData Store
I believe this a Rosetta bug only affecting iOS 16. I am unable to test on and actual device since I have already updated to 17 on all of my physical devices, but I can only reproduce this on a Rosetta simulator running 16/16.4, it doesn't occur on any iOS 17, or non-rosetta 16 builds.
Replies
Boosts
Views
Activity
May ’24
Reply to A serious bug in PencilKit that make all apps with PencilKit useless in iOS16
I am the developer of Pencil it in, also an indie and pretty worried about this. I haven't downloaded Xcode 14 yet so I can't test, but I have a feeling the issue is in the backing CAMetalLayer, since it only happens when writing, possibly related to drawableSize. If you have Xcode 14, it might be worth building and logging the drawableSize or other CAMetalLayer properties (bounds, frame, ...) between iOS 15/16. Getting a reference to the metal layer can be a bit tricky; it's within a private view. The hierarchy is PKCanvasView -> PKTiledView -> PKMetalView. You can access it with something like: for v in canvasView.getAllSubviews() { for l in v.layer.sublayers ?? [] {     if let metalLayer = l as? CAMetalLayer {         print("Layer is ", metalLayer)          }      } } Where the helper function getAllSubviews() can be found on Stack Overflow I will keep this forum updated on any progress made and would appreciate anyone else experiencing this do the same.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to Calendar List is empty after authorization
I don't know if it's a bug or not but store.reset() does not seem to actually reset the store like the comments suggests, It essentially is as if you released the store and then created a new one. It brings it back to its initial state. If we actually do create a new store, the issue seems to be resolved. So the access handler should look something like this: store.requestAccess(to: .event) { (granted, error) in if granted { self.store = EKEventStore() ... } I found the answer on this post. Stack Overflow - https://stackoverflow.com/questions/58873603/ekeventstore-calendars-is-always-empty-after-clean-install.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’21