3
我正在使用NavigationItem来驱动应用程序的导航。对于我所有的控制器从DialogViewController继承的,背面按钮不会显示,即使我做DialogViewController丢失后退按钮
BackButtonBarItem = news UIBarButtonItem(..)
后退按钮永远只显示了对话,但不会为每一个其他类型的控制器。我错过了什么吗?
我正在使用NavigationItem来驱动应用程序的导航。对于我所有的控制器从DialogViewController继承的,背面按钮不会显示,即使我做DialogViewController丢失后退按钮
BackButtonBarItem = news UIBarButtonItem(..)
后退按钮永远只显示了对话,但不会为每一个其他类型的控制器。我错过了什么吗?
使用重载DialogViewController构造
public DialogViewController (RootElement root, bool pushing)
如果你的DVC被推到NavigationController的布尔推动参数应该是真实的。使用代替
public YourDialog() : base (UITableViewStyle.Grouped, null, true)
public YourDialog() : base (UITableViewStyle.Grouped, null)