Ios swift – iOS bottom sheet with fraction detents UIKit
I would like to open bottom sheet with custom option and not medium or large detents.I checked in SwiftUI there is API called .fraction but couldn't find similar API in UIKit. SwiftUI Text("Detail") .presentationDetents([.fraction(0.1)]) UIKit if let sheet = viewControllerToPresent.sheetPresentationController…