本文介绍了在 StoryBoard 的 TabController 中使用导航.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 iPhone 应用程序开发的新手,我有一个基于标签的应用程序,

I am new to iPhone app development, I have a tabbed based app,

在第一个选项卡视图中,我有一个搜索表单,当我在搜索中输入值并在数组中获取结果时,我想在表格中获取结果,但在导航视图控制器中,带有详细视图选项和单元格内的按钮,它将添加将单元格项目放入收藏夹,

On first tab view I have a search form, on when I put value in search and get results in array I want get result in table but in Navigation View Controller, with a detailed view option and a button inside cell which will add cell items into favourites,

一切正常,我无法在 navviewcontroller 表中获得结果,

every thing is working fine, I am unable to get results in navviewcontroller table,

我在 xcode 4.6.2 中使用故事板.

I am using storyboard in xcode 4.6.2.

推荐答案

只需在 Storyboard 中选择要添加导航的视图,然后 Editor -> Embed ->导航控制器.然后选择所有(您在 Tabbar 中需要的视图,您也可以选择 Navigation Controller View )视图并再次 EmbedTab Bar 中.我也在附上图片,这样你就可以得到一个好主意.

Just Select the View in Storyboard that you want to add navigation and then Editor ->Embed -> Navigation Controller.Then select all(View that you need in Tabbar you can also select Navigation Controller View ) the View and again Embed it in Tab Bar.I am Also Attaching Image so u can get a good idea.

这篇关于在 StoryBoard 的 TabController 中使用导航.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 19:57