在UIlabel上显示iOS中的矩形的希伯来文字? [英] Hebrew text showing rectangle in iOS on UIlabel?

查看:153
本文介绍了在UIlabel上显示iOS中的矩形的希伯来文字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有希伯来语文本,当我在 UILabel 上显示时,它显示了一些矩形。请帮忙。

I have hebrew text and when I am showing on UILabel it showing some rectangle. please help.

实际文字: -


בָּרוּךְאַתָּהיְיָ,אֱלֹהֵֽינוּמֶֽלֶךְ הָעוֹלָם,בּוֹרֵאפְּרִיהָעֵץ

בָּרוּךְ אַתָּה יְיָ, אֱלֹהֵֽינוּ מֶֽלֶךְ הָעוֹלָם, בּוֹרֵא פְּרִי הָעֵץ

out put: -

out put :-

更新: - 我创建了 UILabel 手动使用storyboard xib并设置字体名称和矩形消失,但当我以编程方式创建 UILabel 时,它无效。我仔细检查字体名称很好。任何想法?

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?

字体是: - Arial希伯来语(姓氏)
ArialHebrew-Bold(字体名称)
ArialHebrew(字体名称)

Font is :- Arial Hebrew(family name) ArialHebrew-Bold (font name) ArialHebrew (font name)

推荐答案

如果您要再次设置系统字体大小或字体名称,请检查错误不行。只做一次。

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.

这篇关于在UIlabel上显示iOS中的矩形的希伯来文字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆