Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Forms to Native and back to Forms and still maintain the Forms navigation stack?

$
0
0

Hi All
How can I maintain the navigation stack in following scenario

  1. Page 1 on Forms

  2. Page 2 on IOS using page renderers

  3. Page 3 on IOS is a UIViewController (Lets call this ProcessImagePage) created & called from custom renderer from step 2

  4. When Page 3 is done processing I navigate back to Page 4 on forms via following code:

var secondViewController = App.GoToPostScanPage().CreateViewController();
            NavigationController.PushViewController(secondViewController, true);

The navigation stack is like this
Page 1-> ProcessImagePage-> Page 3

Is there a way I can maintain the navigation stack to be
Page 1-> Page 2-> Page 3?

More details on my approach available on this SO post:

http://stackoverflow.com/questions/28084453/xamarin-forms-to-native-back-query

Thanks
Supreet


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>