-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blank menu content when used with Xamarin Forms #31
Comments
I have had success in another renderer, but only because the content view controller was pulled from a Storyboard, like so:
The above does work and I can see menu content. However, in my other renderer, the content view is an actual XF Page. |
In my app I got the same behaviour with the following code:
|
I have a working example using Xamarin Forms here: https://github.com/jdehlin/Xamarin-Sidebar/tree/master/XamarinFormsSample Have you taken a look at that? |
Yes, but the difference is that in your samples you are new-ing a ContentController or a page and then create a view controller. In my code I am using an existing formsPage and then call the CreateViewController in the renderer. |
Here's how I am setting up the SideBarController for one of my Xamarin Forms pages (via a renderer):
My Renderer:
When I slide the menu out, it is a blank white view. I've tried other options, like just newing up a view controller and passing that in as the root view controller, but I see the same results. I've tried moving this code to the OnElementChanged method, but still the same problem.
Have you or anyone else had any success when integrating with Xamarin Forms?
The text was updated successfully, but these errors were encountered: