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

put a page inside another page

$
0
0

I want to be able to embed a page inside another page - like a tabbed page, but with my own chrome and some other view feautres.

I've written a custom page to do this, using UIViewcontroller containment in iOS, but I find it plays up when navigation are embedded in them. So, I'm wondering if anyone else has succesfully done this, so I can compare my code with theirs to see if I can work out why the navigation issue arises (the back button receives clicks; but does nothing in a nested navigationpage)\
Even better would be if there is a pure forms solution to the problem (to save me having to write the renderer for android). I thought of extending tabbedPage, or something like that, and just adding my own chrome; but they don't expose their children, so I wouldn't be able to wire into them to add my own custom chrome (some extra bars, and buttons, in case you're interested).

If you run the app, and click test, a page get's added to the navigationpage. you'll notice the back button doesn't work; but the gesture to drag back from this page does.

I'd really appreciate any ideas into what's causing this. The viewcontroller container is a port from a class I use for all my iOS projects without any issues whatsoever, so I'm not sure what's up

I also know the binding is wrong for the CurrentPage property (I've since learned how to do that right; but please ignore that for now, as I doubt very much it has anything to do with this issue).

Thanks,


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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