Orderella / PopupDialog

A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style.
http://www.mwfire.de
Other
3.96k stars 522 forks source link

Ipad screen size #312

Closed asuhasoft closed 5 years ago

asuhasoft commented 5 years ago

How do we make the sizing according to ipad?

maari2k23 commented 5 years ago

Yes. Thank you for your support. And, As per our scope we need to move for iPad itself. So please guide me how to resize the popup view. Thanks in advance.

mwfire commented 5 years ago

Hey there!

So far, the dialog width is automatically evaluated for phone size classes. This was originally to ensure smaller devices will also correctly display the dialog, by using margins from left & right rather than a fixed width. Preferred width currently can only be specified for tablets. Height is defined by the content, however.

What would be your favorite way of making this work across all device sizes? (Looking for inspiration)

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.