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:

enter image description here

the image below shows using toolbar use image button.

enter image description here

this how bar button item identified search icon.

enter image description here

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

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -