Posts

Post not yet marked as solved
0 Replies
549 Views
This is an old bug but it has never been fixed: App Folder do not shown in Files App. (UIFileSharingEnabled and LSSupportsOpeningDocumentsInPlace in info.plist are true) There was a workaround to make the app folder appears in Files app again: Restart device or simulator. But this trick doesn't work any more after I updated to XCode 13 and run simulators in iOS15. I can read files in the Documents folder of the app, but unable to delete or trash them. If I trash a file in the Documents folder, this error will appear: Error Domain=NSCocoaErrorDomain Code=4101 "Provider returned unsupported error" UserInfo={NSUserStringVariant=Trash, NSURL=file:///Users/***/Library/Developer/CoreSimulator/Devices/***/data/Containers/Data/Application/***/Documents/file.zip, NSDebugDescription=Provider returned unsupported error, NSUnderlyingError=0x600001b93270 {Error Domain=NSFileProviderInternalErrorDomain Code=3 } ... However, I still can open the Documents folder from simulator with MacOS Finder and delete files from here. I believe this happens in production too because many users reported sometimes they can't delete files in the app. I would like to know if there is a solution for this problem
Posted Last updated
.
Post not yet marked as solved
0 Replies
376 Views
I tried to convert colors in drawing from light mode to dark mode by converting color to HSV color-space and then invert the brightness value. But it doesn't work well. So i would like to know if there are a way that we could convert a color from light mode to dark mode and otherwise? Thank you very much for the great framework!
Posted Last updated
.
Post not yet marked as solved
0 Replies
566 Views
I'm trying to customize CanvasView by stacking canvasViews. If user draw on a canvasView, the stroke will be passed to another canvasView and got delete in original canvasView. It works quite well but sometimes a stroke just got deleted and not being sent to another canvasView. It shows those 2 errors, I guess the first error occurs because after user stop using tool, Apple Pencil still send info to canvasView. But I don't know why it happened and why this error deleted a stroke on screen. The second error says me nothing. I think i need more context to be able to fix the bugs. PencilKitDraw[6594:2849236] [Stroke Generator] Missed updates at end of stroke: 2 (total points: 69) PencilKitDraw[6594:2848789] [] Drawing did change that is not in text.
Posted Last updated
.