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

define the size of an image in a Popup #316

Closed FabriceBali closed 5 years ago

FabriceBali commented 5 years ago

Hello, I added an image at the top of the Popup. But I can't give it a precise size. Can you help me? Thank you. Thank you..

mwfire commented 5 years ago

Hey there! The default dialog will always try to pin left - top - right while keeping the aspect ratio. If you have other requirements, you might want to give it a shot using a custom view controller where you have full control.

Hope that helps :)

purepure commented 5 years ago

Your lib is great! I am with @FabriceBali, it is more awesome if we could setup the size of image or it's margin

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.