When I load another viewcontroller from center view and return back to rootview, fold view is empty, will populate after folding is completed. When I load that other viewcontroller from folview itself, everything is fine. Tested with right and left folds.
I tried to do a fold/unfold (nonanimated) in viewDidAppear: as a dirty hack. In this case fold has content but opens without folding effect, just sliding in. I think there's some bug related to unfolding/folding without animation, because same problem happens if I want the fold to be unfolded when application is loaded, closing then the fold manually just slides it off, no folding effect.
And if I leave foldview open, when loading another viewcontroller, returning back rightfold has artifacts, but has content, leftfold don't have artifacts, but don't have content, content appears after close/open.
All this has something to do with view height changing, because it happens when I want navigationbar hidden in first view, but visible in second view. If navbar is visible or hidden all the time, foldviews seem to be fine.
When I load another viewcontroller from center view and return back to rootview, fold view is empty, will populate after folding is completed. When I load that other viewcontroller from folview itself, everything is fine. Tested with right and left folds.
I tried to do a fold/unfold (nonanimated) in viewDidAppear: as a dirty hack. In this case fold has content but opens without folding effect, just sliding in. I think there's some bug related to unfolding/folding without animation, because same problem happens if I want the fold to be unfolded when application is loaded, closing then the fold manually just slides it off, no folding effect.
And if I leave foldview open, when loading another viewcontroller, returning back rightfold has artifacts, but has content, leftfold don't have artifacts, but don't have content, content appears after close/open.
All this has something to do with view height changing, because it happens when I want navigationbar hidden in first view, but visible in second view. If navbar is visible or hidden all the time, foldviews seem to be fine.
I made a test project explaining: https://www.dropbox.com/s/fohlg7fnrd7mmiw/foldproblems.zip
Hope somebedy can help fixing it or tell what I'm doing wrong.
Regards,
Markus