标签: ios-icons

如何在导航栏中添加/使用默认图标

我想使用一些默认的iOS图标,
在此输入图像描述

在导航栏中.
基本上我不知道如何调用该项目的图像(直接从本机库 - 我知道如何下载它并放置为自定义图像:)):

   var myButton:UIButton = UIButton.buttonWithType(UIButtonType.Custom) as! UIButton
   myButton.addTarget(self, action: "reload", forControlEvents: UIControlEvents.TouchUpInside)
   myButton.setImage(???, forState: <#UIControlState#>)
Run Code Online (Sandbox Code Playgroud)

ios swift ios-icons

11
推荐指数
2
解决办法
2万
查看次数

标签 统计

ios ×1

ios-icons ×1

swift ×1