iMinichrispy/UISheetPresentationControllerCustomDetent

Any risk to be rejected by Apple because of private method

Opened this issue · 1 comments

Private method

+ (instancetype)_detentWithIdentifier:(UISheetPresentationControllerDetentIdentifier)identifier constant:(CGFloat)constant;

Unfortunately, this is always a risk when using private methods so if at all possible, I'd highly recommend targeting iOS 16 or later so you can use Apple's built-in method for custom detents instead:
https://developer.apple.com/documentation/uikit/uisheetpresentationcontroller/detent/3976719-custom