gpt4 book ai didi

ios - 我可以在应用程序的其他 Assets 中使用Apple提供的默认UIBarButton图标吗?

转载 作者:行者123 更新时间:2023-12-01 18:11:37 25 4
gpt4 key购买 nike

像在UIButton或UIImageView等中。

如果是这样,我该如何使用StoryBoard或Xib来实现

我可以使用UIBarButton项目中的默认图标,但不能在常规按钮中查找它们。使用Storyboard的解决方案真的很好

最佳答案

为了使用它们,您需要使用一个名为(非常合适)iOS Artwork Extractor的便捷小应用程序来提取它们。当我想模仿iOS系统行为时,会一直使用它。

在以下位置下载Xcode项目:

https://github.com/0xced/iOS-Artwork-Extractor

或另一种方法:

Other.artwork文件位于/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/中(您需要SDK)。

使用“iPhoneShop-1.3.jar”程序(当前here可用)将所有图像提取到目录中。

java -jar iPhoneShop-1.3.jar ARTWORK Other.artwork EXPORT Other

关于ios - 我可以在应用程序的其他 Assets 中使用Apple提供的默认UIBarButton图标吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30047371/

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