ios - Using presentModalViewController from an Array of UIViewControllers -
in app there "main" uiviewcontroller holds buttons; once clicking on 1 of buttons opens uiviewcontroller (lets call datauiviewcontroller) - when clicking on datauiviewcontroller open datauiviewcontroller , on until reaches last 1 , datauiviewcontrollers released , go mainuiviewcontroller. datauiviewcontrollers called using presentmodalviewcontroller.
i implemented in way each datauiviewcontroller created within previous datauiviewcontroller (so 2nd 1 created within 1st 1 , 3rd created within 2nd etc...); have release method datauiviewcontrollers released recursively. of course, memory warnings in case machine overloaded...
i'm trying build in way - using nsmutablearray located in mainuiviewcontroller holds , calles each datauiviewcontroller in turn , releases when done.
the problem presentmodalviewcontroller doesn't work on datauiviewcontroller i'm taking out of nsmutablearray - doesn't load; instead goes next code line.
anyone?
i see no reason why view controllers don't load. seems view controllers not set up. how did initialize them ?
Comments
Post a Comment