Getting the “Large Text” font size from Settings/Accessibility?

故事扮演 提交于 2019-12-24 00:15:44

问题


The Settings/Accessibility "Large Text" setting sets the text size in some built-in Apps.

How can I get hold of this setting to be used in my own App? I can create a private setting in my App of course, but I'd rather use the global setting.

I was expecting [UIFont systemFontSize] to adjust the size, but it always returns 14 regardless of the setting in Accessibility.


回答1:


As far as I know this is not possible. I opened rdar://10660048 just in case, hopefully something similar will be available in iOS 6.x. If somebody knows private APIs to access the value I wouldn't mind knowing.



来源:https://stackoverflow.com/questions/10305273/getting-the-large-text-font-size-from-settings-accessibility

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!