开发者

Changing images of toolbar buttons dynamicaly

I have a tool bar with buttons whose image is set to a pa开发者_StackOverflow社区rticular image.When the user clicks a button in the main view, i want to change the image of one of the toolbar buttons to another image.I tried many methods.Everything ran without errors, but none showed any change in toolbar.Any suggestions?


There is a tutorial for this: How-to-change-a-uibarbuttonitem-in-the-iphone-toolbar

This is a great tutorial because it goes over changing the images based on state as well.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜