UISheetPresentationController iOS 15 Swift #2

preview_player
Показать описание
A presentation controller that manages the appearance and behavior of a sheet.

UISheetPresentationController lets you present your view controller as a sheet. Before you present your view controller, configure its sheet presentation controller with the behavior and appearance you want for your sheet.
Sheet presentation controllers specify a sheet's size based on a detent, a height where a sheet naturally rests. Detents allow a sheet to resize from one edge of its fully expanded frame while the other three edges remain fixed. You specify the detents that a sheet supports using detents, and monitor its most recently selected detent using selectedDetentIdentifier.
Рекомендации по теме
Комментарии
Автор

hey, its an awesome video I have an assignment to submit could you please help me out?

harshithguptaaa