gpt4 book ai didi

html - 在 IOS 中显示分数

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:45:18 24 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
NSString representation of fractions using unicode
Using Fractions On Websites

我正在将我的应用程序从 android 移植到 IOS。在我的 android 应用程序中,我使用此代码显示 fractions

   Html.fromHtml("<sup>" + top + "</sup>/<sub>" + bottom + "</sub>");

但我不知道如何在 iOS 中执行此操作

她是上面的 Html 代码在 android 中的样子 看图片 pic

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