Custom smaller Detents in UISheetPresentationController?

For iOS 16+

  • Swift – custom(identifier:resolver:)

  • ObjC – customDetentWithIdentifier:resolver:


For iOS 15 : Use +[UISheetPresentationControllerDetent _detentWithIdentifier:constant:].

It’s a private method.

Sample

 Summary: UIKitCore`+[UISheetPresentationControllerDetent _detentWithIdentifier:constant:]        Address: UIKitCore[0x00000001838d50fc] (UIKitCore.__TEXT.__text + 17876312)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)