c# - How to use a default image icon for a UIButton instead of a UIBarButton item -
as seen screen shots below. using uibarbutton item use search icon image:
the image below shows using toolbar use image button.
this how bar button item identified search icon.
the problem: how do same thing uibutton?
i've tried doing programmatically or through interface builder cannot find anyway do same thing. know can use background image uibutton, want choose identifier uibarbutton. there way this?
no, uibutton
has limited list of default icons, unlike uibarbuttonitem
. search icon not 1 of them. these available enum values of uibuttontype:
- uibuttontypedetaildisclosure
- uibuttontypeinfolight
- uibuttontypeinfodark
- uibuttontypecontactadd
Comments
Post a Comment