KyoheiG3 / SimpleAlert

Customizable simple Alert and simple ActionSheet for Swift
MIT License
398 stars 45 forks source link

Autoresize #2

Closed osipkat closed 6 years ago

osipkat commented 9 years ago

I've made my CustomViewController to use in SimpleAlert. It contains label which is filled dynamically. But it doesn't autoresize. Height of SimpleAlert keeps the same as in my nib file. How to make it autoresize its height?

KyoheiG3 commented 9 years ago

You can display a CustomView to call init(view: UIView?, style: Style). that before it is necessary to set size of the CustomView to.