ios - How to add Label on Bar Button Item? -


i have uibarbuttonitem taken using interface builder.

its outlet taken follow :

{     iboutlet uibarbuttonitem *itemnext, *itemprevious, *itemsubmit; } 

so in storyboard looks following image.

enter image description here

now, question how can add uilabel before rightbarbuttonitem item ?

note : uibarbuttonitem not on navigationcontroller set on bottom of screen shown in image.

i unable drag , drop uilabel on uibarbuttonitem can suggest me how can that?

uilabel can added subview uitoolbar or uinavigationbar.

you can add uibaritem. use settitletextattributes:forstate: on uibaritem attributed string properties similar uilabel.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -