iphone - iOS "Print"或 "Send"图标

标签 iphone ipad ios airprint

我在哪里可以获得“应该”用于 AirPrint 打印的标准“发送”或“打印”图标?

最佳答案

这是默认的 SystemAction 栏按钮项,如下所示:

UIBarButtonItem *printBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAction 
                                                     target:self 
                                                     action:@selector(handlePrintTapped)];
[self.navigationItem setRightBarButtonItem:printBarButtonItem animated:TRUE];

关于iphone - iOS "Print"或 "Send"图标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4708929/

相关文章:

iphone - 如何从 NSString 对象分配 Objective-C 中的类?

iphone - 一旦 App 进入后台,AVAssetWriter 就会失败

ios - 如何在我的应用程序中启用 "Photos"的编辑功能? [ swift 3]

javascript - 在 ipad 中覆盖动态插入的视频标签

ios - swift 3 谷歌地图 : _OBJC_CLASS_$_GMSServices error

iphone - 如果 "word"文本会显示 "wrong"(iPhone SDK)

iphone - iOS/iPad 的消息队列 - 类似于 MSMQ?

ios - ObjC 对象内存分析/解析 iOS 128kB 限制

ios - 如何在谷歌地图中拖动标记

c# - 将图像从 iPhone 上传到 WCF 服务