Post

Replies

Boosts

Views

Activity

Reply to visionOS: Button Frame modifier bugged?
Unfortunately cannot edit anymore, but here's the result when I apply the modifiers on the label itself, even applying .clipShape(.rect) to the button, it stays a capsule: struct HostCell: View { var body: some View { Button(action: {print("Salut")}, label: { Image(systemName: "plus").frame(width: 200, height: 200).background(.red).cornerRadius(30).hoverEffect() }) } } Result:
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’23
Reply to Curved Windows for video playback in visionOS?
Hello! Thank you for the quick reply - I will file feedback right away. I will start tinkering with the suggested solution as well :). Thanks!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to Cannot move or resize AVPlayerViewController in XCode 15 Beta 2 on visionOS.
Hello! Thanks for sharing, glad I am not the only one!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to visionOS: Button Frame modifier bugged?
Unfortunately cannot edit anymore, but here's the result when I apply the modifiers on the label itself, even applying .clipShape(.rect) to the button, it stays a capsule: struct HostCell: View { var body: some View { Button(action: {print("Salut")}, label: { Image(systemName: "plus").frame(width: 200, height: 200).background(.red).cornerRadius(30).hoverEffect() }) } } Result:
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23