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

Push page into navigation from Page Renderer

$
0
0

Hello guys, I've implemented an Page Renderer for iOS so I could use device's camera. When the user presses the take photo button should be opened another page by pushing to the navigation stack, but nothing its happening. I'll leave here my page system in the app

  • Tabbed Page

    • Navigation Page
      -TodoListPage
    • Navigation Page 2
      -Camera Render

In camera render I use this line of code to push a page to my Navigation Page 2 stack

await App.GetMainPage ().Navigation.PushAsync (new ContentView ());

App.GetMainPage () its actually returning the main tabbed page. How can I access Navigation Page 2 Controller in order to push a page to the stack ?

Thanks in advance


Viewing all articles
Browse latest Browse all 89864

Trending Articles



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