I am new in developing IOS apps. I have made 3 custom buttons on a view. and on 3 other views i want to add those buttons at the bottom of the application with same functionality as on the main view. all the 3 buttons on the main screen opens separate view. how i supposed to do that? i will be very thankful for your help.
Share
To open different views with respective
UIButtonyou need to useUITabBar. In tab bar you change addUITabBaritems.Or you can use
UINavigationBarin place ofUITabBar. In eachUIButtonyou have to add action events. Suppose you are moving fromview1toview2, then inview1in action event ofbutton1you need to addin View2 to return from that view2 to view1 you need to add
Or you can add action events to the buttons . There you can switch one view to other by writing
Here
view1is the reference of next view which you want to switch.If you want to again come back to previous view then write in
UIButtonactionI think it will help you.