objective c - iOS Storyboards - How to re-use a View Controller -


i have application takes through multiple steps (5-6 steps) @ end of have newly registered account. using storyboard , lot of these steps have similar (or identical) layouts , objects , elements within them. right doing creating new view controller each of these steps , altering data within them pertain specific step. when @ storyboard, feel has way optimize don't have many identical view controllers beside 1 another.

storyboard screenshot depicting issue

as can see there 5 view controllers identical , looking way condense these single view controller or perhaps 5 view controllers access single view contains variety of elements see in image. appreciated. in advance!

if view controllers' same no need create multiple view controllers.

you can create 1 view controller , change view or content of view per requirement.

hope helps


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -