Post

Replies

Boosts

Views

Activity

Reply to ScrollView positions content outside bounds
I'm experiencing the same issue with a ScrollView with two axis set: ScrollView centers the content. – Embedding in a VStack yields the same result, hence it's not a workaround (anymore?) – Also having two nested ScrollView, one for each axis, doesn't produce the same scrolling behaviour as one ScrollView with the two axis. Is as if there was an anchor point set somewhere that defaults to center when using this both axis. Any ideas?
Sep ’22
Reply to RenameButton()
I'm also facing this issue and can't find the relevant documentation to make this work. The code for RenameButton() https://developer.apple.com/forums/tags/wwdc2022-110343 does not seem to be working out of the box, even when combined with the .renameAction { } as showed in https://developer.apple.com/documentation/swiftui/renamebutton Any working examples would be very appreciated!
Dec ’22
Reply to Disable Smart Selection feature on PKCanvasView
Further investigation revealed that the Smart Selection feature is not really a PKCanvasView but a product of the interaction between a PKToolPicker and a PKCanvasView. That means that only when the PKToolPicker is visible the Smart Selection feature would run. Therefore the title of this post should be "Disable Smart Selection feature on PKToolPicker / PKCanvasView", and then the workaround (without any API changes) would be to hide the PKToolPicker as soon as a touch is detected on the PKCanvasView.
Jul ’23
Reply to Disable Smart Selection feature on PKCanvasView
At the moment this is s an issue in iPadOS 18 beta 4. My feedback is FB14511673: On a PKCanvasView or a subclass there’s no documented approach to disable text (or stroke) selection that comes from the Smart Selection feature. In SwiftUI there’s a .textSelection modifier that permits this but it doesn’t have its counterpart in UIKit, or at least not in a understandable way. This applies to all versions of iPadOS, including iOS 18 beta 4. Please provide a mechanism to selectively disable this feature from a PKCanvasView.
Jul ’24
Reply to IOS 18 update causes toolbar contents to not show
Similar issue(s) here. Please file feedback. The issues below are all still happening on iPadOS 18.2 Beta 2 FB14855728 - Navigation bar background transparent (and unmodifiable) on iPadOS 18.x FB14849205 - ToolbarTitleMenu not showing on iPadOS 18.x FB15164292 - On a navigation bar created by a DocumentGroup, all customizable items from the toolbar appear by default on iPadOS 18.1 beta 4 FB14855668 - statusBarHidden(_:) view modifier not respected on iPadOS 18.x
2w