KyoheiG3 / SimpleAlert

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

Reduce constraints priority #35

Closed zaimramlan closed 5 years ago

zaimramlan commented 5 years ago

This is a small change to reduce the constraint priorities to 750 (High) of:

  1. The top and bottom constraints of the titleLabel, messageLabel and textView
  2. The top and leading constraints of the AlertContentView

This resolves AutoLayout from having to break required constraints, if we were to modify and add additional constraints to any of the SimpleAlert's view elements to other elements, like so:

screen shot 2018-11-18 at 11 41 33 pm

Thank you for the indeed simple alert!