rubymotion - ViewController for an iOS quiz app -
maybe stupid question cannt find solution.
i'm newbie developer , develop ios apps using rubymotion.
i'm creating quiz app: when user start quiz init uiviewcontroller first question , 3 buttons possible answers.
user select answer , go next question increasing progress bar.
now have doubt: can use uiviewcontroller or have use uipageviewcontroller?
if use uiviewcontroller 50 questions have init 50 controller: not dangerous resources? or better destroy controller when create controller next question?
thank (and sorry if question obvious)
no can use 1 viewcontroller object because have same ui 1 every page progressbar, question label , 3 buttons.
if user select answer need update new question label , 3 buttons options progress on progressbar , display activityindicatorview refresh page new question or custom animation.
Comments
Post a Comment