ios - I need help getting a normal looking unicode down arrow in a UILabel like this ⬇ -


i down arrow display inside uilabel. ⬇ unicode: u+2b07. show sort order on column header.

i have seen code unicode characters display , when use symbol above doesn't display expected rather comes blue down arrow gloss.

has seen this?

displaying characters "emojis" feature e.g. (controversially) discussed here: https://devforums.apple.com/message/487463#487463 (requires apple developer login). feature introduced in ios 6.

a solution (from https://stackoverflow.com/a/13836045/1187415) append unicode "variation selector" u+fe0e, e.g.

self.mylabel.text = @"\u2b07\ufe0e"; // or: self.mylabel.text = @"⬇\ufe0e"; 

note on ios <= 5.x, variation selector not necessary , must not used, because ios 5 display box.

in swift be

mylabel.text = "⬇\u{fe0e}" 

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -