开发者

One tap printing on iPhone

开发者 https://www.devze.com 2023-04-07 01:41 出处:网络
I want to make an app on the iPhone that would print an ima开发者_如何学Goge just by tapping a button. I\'ve tried the tutorials about UIPrintInteractionControlleronline, but all of them will take me

I want to make an app on the iPhone that would print an ima开发者_如何学Goge just by tapping a button. I've tried the tutorials about UIPrintInteractionController online, but all of them will take me to a selection page before I can actually print. Can I programmatically skip that page by sending a default print job directly to an available printer that the iOS can connect to?


No. Using the printing UI is a requirement; otherwise, the user doesn't have a way to change printers or set printer settings. Unlike a desktop computer, printers in iOS are transient, so there's not a notion of a "default printer" or configuration for one-click printing.

See the Drawing and Printing guide for more information about the UI expectations for apps which print.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号