当前位置: 动力学知识库 > 问答 > 编程问答 >

ios - showing a box type-view on click of a button and on click of a tab bar item

问题描述:

In my application, i need to show a dilog-type view when a user clicks on a UIButton. I need to do the same thing when the user clicks on a tabBar item of a UITabBar

Sorry, in order to make myself clear, i had to create it in paint. Should i create a view with background image of the dilog box, and add two buttons in the view accordingly? I also need to give an alert-view like effect to the view when it is shown.

How do i implement it in a tabBarController?

On clicking on the red button, the view with black border should be shown with an alert-view type effect.

分享给朋友:
您可能感兴趣的文章:
随机阅读: