I am not sure if this is the culprit but the biggest change I did to this project was upgrading to Swift 4 a couple of days ago. I know that my UIAlertController messages were showing multiline when needed but today I realized by chance that all of them became single line and has ellipsis at the end. Since I show these messages from an API, I cannot use "\n". The code is simple enough;
let alert = UIAlertController(title: "Title", message: "Long message that must be shown as multiline", preferredStyle: .alert)
alert.addAction(UIAlertAction(title: "OK", style: .default, handler: { (action: UIAlertAction!) in
alert.dismiss(animated: true, completion: nil)
}))
present(alert, animated: true, completion: nil)
I checked some other related questions but none of them worked for me. This one was asked as the same problem recently but did not get an answer, and has a hacky workaround posted as a solution;
Any advice on what to check is really appreciated.