Any risk to be rejected by Apple because of private method
skywalkerlw opened this issue · comments
LW commented
Private method
+ (instancetype)_detentWithIdentifier:(UISheetPresentationControllerDetentIdentifier)identifier constant:(CGFloat)constant;
Alex Perez commented
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