问题
I have hebrew text and when I am showing on UILabel
it showing some rectangle. please help.
Actual Text :-
בָּרוּךְ אַתָּה יְיָ, אֱלֹהֵֽינוּ מֶֽלֶךְ הָעוֹלָם, בּוֹרֵא פְּרִי הָעֵץ
out put :-
UPDATE :- I have created the UILabel
Manually using storyboard xib and set font name and rectangles gone but when i using on programatically created UILabel
it is not working.I double checked Font Name is fine .Any idea?
Font is :- Arial Hebrew(family name) ArialHebrew-Bold (font name) ArialHebrew (font name)
回答1:
Please check by mistake if you would be setting the system font size or font name again then it's won't work.Do it only once.
来源:https://stackoverflow.com/questions/17955858/hebrew-text-showing-rectangle-in-ios-on-uilabel