Open afehners opened 11 years ago
In SIAlertView.m
there is a constant #define MESSAGE_MAX_LINE_COUNT 5
- you can change that to make the alert show more lines of text.
This is true. But set it to a high number and you will notice the popup box will grow larger than the bounding window causing the action buttons to disappear off the bottom of the screen. This push request enables the defined number of lines to be shown, keeping the popup size limited, whilst allow large text to be scrolled like the built in UIAlertView
+1
+1
+1
can this change request be included in master and next version?
If the text is greater than 5 lines it gets truncated. This switches from using a UILabel to a UITextView. If the text is longer than 5 lines it can now be scrolled, whilst still limiting the size of the alert, and allowing the alert to remain small for short text.