Closed Kalikanth closed 6 years ago
Hello @Kalikanth, thanks for the issue! Which iOS and CDAlertView version do you use?
@candostdagdeviren I'm using the latest version of CDAlertView (swift 4)and device is iPhone 6(11.0) xcode 9.1
What may be the issue. In other projects Default UIAlertController is working fine but after removing the CDAlertView. The UIAlertController also started truncating. How to overcome this please help this is very urgent.
I tried your code on iPhone 6, iOS 11.1 and it's working. Do you do extra customizations or something else that can override UILabel
's numberOfLines
property?
i didn't do any customizations i'm not getting what's the problem what i obeserved is UILabels text is also getting truncated. How can set the this to default of UILabel
as you can see in here for message label: https://github.com/candostdagdeviren/CDAlertView/blob/master/CDAlertView/Classes/CDAlertView.swift#L578
and here for title label: https://github.com/candostdagdeviren/CDAlertView/blob/master/CDAlertView/Classes/CDAlertView.swift#L569
We set numberOfLines
to 0. It shouldn't truncate. Do you have any extension of UILabel
that can override this or something else which can cause this? Because I'm not able to reproduce the bug. Maybe you don't do any customizations for CDAlertView
but you may customize UILabel
's properties or something else. This is the only thing that comes to my mind.
Yeah! I got the issue i was overriding the UILabel Property that is the reason for this strange behaviour. Thank you @candostdagdeviren
Good to see that you've solved! Closing the issue :)
In my app presenting an alert but the message getting truncated to one line