gpt4 book ai didi

ios - UIBarButtonSystemItem 信息和统计

转载 作者:行者123 更新时间:2023-11-28 18:56:49 26 4
gpt4 key购买 nike

我需要两个找不到的按钮:UINavigationBar 的信息按钮和统计按钮。有没有一种方法可以在不绘制按钮的情况下找到代表相似事物的按钮?

最佳答案

希望对你有帮助:

 //for info button using custom UIButton
UIButton *btn = [UIButton buttonWithType:UIButtonTypeInfoDark];
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:btn];

对于统计信息,没有这样的默认按钮可用

关于ios - UIBarButtonSystemItem 信息和统计,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31536024/

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