我不确定是否需要打开任何内容或配置任何内容以启用可见性.
我为每个表视图和工具栏创建了插座.
如果有人能对此有所了解,我将不胜感激.
请看图像.
谢谢
Balan Sinniah
更新:我有AppDelegate代码如下
[Register ("AppDelegate")]public partial class AppDelegate : UIApplicationDelegate{ // class-level declarations UIWindow window; UISplitVIEwController splitVIEwController; public overrIDe bool FinishedLaunching (UIApplication app,NSDictionary options) { // create a new window instance based on the screen size window = new UIWindow (UIScreen.MainScreen.Bounds); var controller = new RootVIEwController (); var navigationController = new UITabbedVIEwController(); var detailVIEwController = new UIDetailVIEwTabbedbarController(); splitVIEwController = new UISplitVIEwController (); splitVIEwController.WeakDelegate = detailVIEwController; splitVIEwController.VIEwControllers = new UIVIEwController[] { navigationController,detailVIEwController }; window.RootVIEwController = splitVIEwController; navigationController.DetailVIEwController = detailVIEwController; // make the window visible window.MakeKeyAndVisible (); return true; }}
我的导航控制器是UITabbedVIEw控制器,它有2个UIVIEwController.我在其中一个UIVIEwController中添加了工具栏和2个表视图.
解决方法 我通过调整界面构建器中的自动调整部分,标记左,右和上红线并取消标记底部红线来实现它,然后一切看起来都很好.我为UItableVIEw做了同样的事情,我在顶部标记了红线.
总结以上是内存溢出为你收集整理的ipad – 工具栏在自定义UIViewController中不可见全部内容,希望文章能够帮你解决ipad – 工具栏在自定义UIViewController中不可见所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)