ios - Highlight words in UIAlertView? (with bold text) -


i want highlight words in uialertview message, either making bold, or, underline.

let message = "this normal text.\nbold title:\n normal text"  let alert = uialertview(title: "title", message: message, delegate: self, cancelbuttontitle: "cancel", otherbuttontitles: "ok")  alert.show() 

how make "bold title" bold (or underline) in message?

this not possible, uialertview api not support attributed strings, normal way accomplish this.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -