Filip Němeček 6/8/2022

How to configure UIKit bottom sheet with custom size

Read Original

This technical article explains how to configure custom sizes for UIKit bottom sheets introduced in iOS 16. It covers using the new `.custom` detent property, setting absolute heights in points, calculating relative heights (e.g., 60% of the screen), and referencing custom detents for other presentation controller options.

How to configure UIKit bottom sheet with custom size

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week