Hello,
I've just started using Xamarin.Forms for iOS and encountered with couple issues. CreateViewController doesn't set Title for UIViewController. I use the following code:
Welcome = (new Views.Welcome()).CreateViewController();
var controller = new BaseNavigationController (Welcome);
PresentViewController (controller, true, null);
and
public partial class Welcome : BaseView
{
public Welcome()
{
Title = GetString ("welcome");
var stack = new StackLayout {
Orientation = StackOrientation.Vertical,
Padding = new Thickness(0, 8, 0, 8)
};
ToolbarItems.Add (new ToolbarItem () {
Name = GetString("cancel")
});
Content = stack;
}
}
I don't see Toolbar here too.
Thanks!