Post

Replies

Boosts

Views

Activity

Reply to Lasso no longer works with iOS17
My solution is a bit hacky. I added the built-in tool PKToolPicker and displayed the tools. When selecting Text("Lasso"), I set self.toolPicker.setVisible(true, forFirstResponder: context.coordinator) so that PKLassoTool can be used. When selecting other tools, I set self.toolPicker.setVisible(false, forFirstResponder: context.coordinator). It's quite cumbersome, and I hope there is a better way. let toolPicker = PKToolPicker() func makeCoordinator() -> Coordinator { Coordinator() } class Coordinator: NSObject, PKToolPickerObserver { .... }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’23
Reply to ITMS-90338: Non-public API usage for UIPrintInfo, UIPrintInteractionController in Mac Catalyst app
ITMS-90338: Non-public API usage - The app contains or inherits from non-public classes in Contents/MacOS/Whiteboard: UIPrintPageRenderer, UISimpleTextPrintFormatter . If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/
Jun ’22