0
我試圖在UILabel中將\ f010設置爲unicode,但它不起作用。這種格式是Unicode專用區。我該怎麼做呢?下面是我如何設置它:UILabel中的unicode私有區域
[homeFeedButton setTitle:@"\f010" forState:UIControlStateNormal];
我試圖在UILabel中將\ f010設置爲unicode,但它不起作用。這種格式是Unicode專用區。我該怎麼做呢?下面是我如何設置它:UILabel中的unicode私有區域
[homeFeedButton setTitle:@"\f010" forState:UIControlStateNormal];
嘗試NSString *str=[NSString stringWithFormat:@"%C",unicodestring]; // unicodestring vontains your unicode string
然後SETV作爲標題
嗯..這不起作用 – adit
你怎麼能指望的代碼來設置「\ F010」? –
對不起..我編輯了這個問題 – adit