2012-05-12 24 views
0

我試圖在UILabel中將\ f010設置爲unicode,但它不起作用。這種格式是Unicode專用區。我該怎麼做呢?下面是我如何設置它:UILabel中的unicode私有區域

[homeFeedButton setTitle:@"\f010" forState:UIControlStateNormal]; 
+0

你怎麼能指望的代碼來設置「\ F010」? –

+0

對不起..我編輯了這個問題 – adit

回答

0

嘗試NSString *str=[NSString stringWithFormat:@"%C",unicodestring]; // unicodestring vontains your unicode string

然後SETV作爲標題

+0

嗯..這不起作用 – adit