ios5 - Swiping from 1st ViewController to the 2nd ViewController,and then back to the first, unloads a loaded image to blank in the first one in iOS 5 -
i'm starting out in ios app development,so if question seems foolish please bear me. i'm creating sample app have 2 view controllers.the first 1 has full screen image,with navigation bar , camera roll button, use pick image galley when app starts.then swipe second view controller enter data clicked it,what camera used etc in text box.the second view controller has navigation bar , button item in navigation bar named return 1st view controller image.i have linked button via segue 1st view controller.now setup functional,but problem when load image gallery , swipe second view write data,and hit button return first view, image loaded gallery no longer there , i'm presented blank screen.
so how can make sure don't loose loaded image when swipe second view controller first one?
thanks appreciated.
the problem control dragged button of second view first view right? doesn't "move" viewcontroller, "creates" new viewcontroller of first type, why empty. if want return first view controller have add action button. can "dismissviewcontroller" if data in second 1 dissapears. or make strong pointer controller 1 controller 2 can dismiss present again if want information not dissapear. (without strong pointer vc unloaded when dismiss it)
Comments
Post a Comment