开发者社区 问答 正文

actionSheet中的文字怎么更改大小呢

项目中用到了actionSheet,但是因为文案设计的不太好,导致发生了这种情况
screenshot
请教大家,如何才能更改actionSheet中文字的大小呢?

展开
收起
a123456678 2016-07-27 17:17:32 1854 分享 版权
1 条回答
写回答
取消 提交回答
  • - (void)willPresentActionSheet:(UIActionSheet *)actionSheet {
        for (UIView *_currentView in actionSheet.subviews) {
            if ([_currentView isKindOfClass:[UILabel class]]) {
                [((UILabel *)_currentView) setFont:……];
            }
        }
    }
    2019-07-17 20:00:55
    赞同 展开评论
问答地址: