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.
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
Post a Comment