开发者

iOS system icons and custom buttons

开发者 https://www.devze.com 2023-03-09 08:01 出处:网络
i\'m working on my first app and the problem a have is that the application interface design is quite customised, (even though it is a tab bar based app). now in one of the view controllers i need to

i'm working on my first app and the problem a have is that the application interface design is quite customised, (even though it is a tab bar based app). now in one of the view controllers i need to present the user with the print interaction controller to print images. the thing is i don't use a navigation bar or a toolbar system or otherwise. i have managed to attach a target action method to a custom button. however, apple states that the printing interface should be presented by a system button (the one that looks like an arrow, kind of). question is: is there any way of putting a system icon inside a button that is not inside a (bar)?, or would it be ok to somehow tell the user (with an overlay or something) that tapping the button i'm using (the button is a red ribbon coming down from a picture fr开发者_运维知识库ame) they will get the printing options?


Apple says:

Although the print button can be any custom button, it is recommended that you use the system item-action button shown in Figure 6-1.

I'd interpret that to mean that you can use your own button if you want to.


You might want to consider having a toolbar at the top of the view for this particular tab. Just appearing on this tab. This would make the issue moot.

You could also, have the tool bar "slide in" and "slide out" from the top to provide access to this (and other?) actions. A single or double tap could instigate such an action.

Unfortunately, Apple doesn't expose the images for the custom bar button items in any reasonable manner. If you'd like access to them, I suggest using the bug reporter system at Apple's developer site to request that.

0

精彩评论

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

关注公众号