Post

Replies

Boosts

Views

Activity

Reply to UISheetPresentationController with top attached views
Did you find a solution to this? I'm trying to do the same thing. I can't find any delegate methods that would tell you the current height of the sheet as it is being dragged. Constraints might work to position the view above the sheet but that won't help to decide when to show/hide the view as the sheet gets higher or lower.
Topic: UI Frameworks SubTopic: UIKit
Jul ’25
Reply to How do I avoid a platform?
#if !os(visionOS) // some code used on all platforms except visionOS #endif But is it really needed? You can let the code compile for visionOS, just don't release your app for visionOS. In App Store Connect, for your iOS app, under Pricing and Availability, you can uncheck support for visionOS (Apple Vision Pro).
Jul ’25