gpt4 book ai didi

iphone - 带有属性标签的 iOS 7 Storyboard本地化

转载 作者:太空狗 更新时间:2023-10-30 03:45:52 25 4
gpt4 key购买 nike

我正在使用 ibtool 从我的 Base Storyboard 中为我所有的语言生成我的字符串文件...出于某种原因,ibtool 没有提取样式为“attributed”的 UILabel...

我没有这些标签的键/值对...有人知道为什么吗?!

最佳答案

I ended up concluding that it couldn't be done using ibtool in the present version.

Instead I let the Textview be a plain text view and, using my subclass, parsed its text property so I could make a NSMutableAttributedString and set the needed properties.

That enabled me to use ibtool to extract the strings and still have an attributed textview.

Localizing attributed UITextView from storyboard

关于iphone - 带有属性标签的 iOS 7 Storyboard本地化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22634849/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com