Все вопросы: [uitabbarcontroller]
127 вопросов
Адресная книга загружена в режиме просмотра вкладки
У меня есть, как я думал, простая задача. У меня есть образец проекта, который позволит пользователю щелкнуть кнопку, чтобы открыть пользовательский интерфейс AddressBook в представлении.Насколько я понимаю, большая часть работы сделана здесь: -(IBAction) checkOutBookid)sender { ABPeoplePi...
Проблемы с TabBarController и NavigationController
Я пытаюсь программно выполнить UITabBarController, используя UINavigationController внутри каждого UIViewController, вызываемого вкладками ... перепробовал все ... прочитал каждую статью ... но 100% учебных пособий, которые я нашел, используются в UITableViewControllers ... здесьявляется делегат...
iPhone - избегайте отображения вкладки «Дополнительно» в приложении для iPhone с вкладками.
Можно ли избежать отображения вкладки "Дополнительно" в моем приложении с вкладками?В моем приложении 6 вкладок, и кажется глупым иметь вкладку "Дополнительно" только для одной дополнительной вкладки. Спасибо.
Пределы панели вкладок?
Есть ли способ увеличить количество элементов на панели вкладок iphone больше пяти?Я знаю, что он может создать вкладку «Еще ...», но это кажется лишним для еще одной вкладки. У меня есть приложение, которому нужно шесть (в качестве альтернативы мне придется глубоко медитировать, чтобы избави...
viewDidAppear не срабатывает в Tabbarcontroller> NavigationController> UITableView
В настоящее время у меня есть контроллер панели вкладок, настроенный с помощью контроллера навигации на одной из вкладок, а затем у меня есть перо UITableView, настроенное для этого представления контроллеров навигации. Все это было настроено через IB, и я хочу, чтобы так и было. Вроде как это р...
Обновите контроллеры представления после отключения выбора панели вкладок
У меня есть два контроллера представления на панели вкладок, которые могут редактировать данные.Следовательно, мне нужно вызывать функцию reload_data всякий раз, когда пользователь переключает панель вкладок.Как я могу поймать переключатель или появление контроллера просмотра.Почему-то viewDidAp...
Отображение одноразового UIViewController через presentModalViewController при запуске
Приветствую! У меня есть работающее приложение для iPhone (ура!), В котором используется MainView.xib, содержащий полностью укомплектованный UITabBar с несколькими объектами UINavigationController и готовыми представлениями. Меня попросили добавить к этому миксу одноразовую регистрацию. Э...
Как реализовать UIImagePickerController с TabBarController
Я бьюсь об этом уже несколько часов.У меня есть образец кода (с использованием UINavigationController), когда представление загружает, будет представлен рулон камеры.Однако когда я пытаюсь включить тот же код в свое приложение, которое имеет tabBarController, я получаю пустой модальный код UIIma...
«Скрыть» панель вкладок при нажатии на просмотр
В приложении New York Times для iPhone есть панель вкладок с пятью элементами панели вкладок.Когда вы выбираете вкладку «Последние», приложение показывает заголовок и аннотацию / сводку в UITableView.Когда вы выбираете отдельную историю для чтения, панель вкладок исчезает и заменяется верхним и ...
Как запустить приложение для iPhone с определенным экраном?
У меня есть большое приложение с множеством экранов, расположенных в иерархии, с UITabBarController вверху, UINavigationControllers ниже, а затем контроллерами UIView ниже них, возможно, с модальным контроллером, добавленным для хорошей меры. Пользователь может выбрать начальный экран из спис...
UITabBarController With UINavigationController "more" Tab Issue
UITabBarController with UINavigationController "more" tab issue There is a problem with using UINavigationController in UITabBarController. I have a TabBar with 6 items. Of course, a standart item "more" appears, and there are two UINavigationControllers that didn't fit in a TabBar. The core of...
Adding a UITabBarController to an UIViewController
I've got a sample application on http://github.com/niklassaers/Test-iPhone-TabBar-App that shows my problem: I have a regular view-based application, and at some point (in this case when I click a button) I want to load a tabbar controller and display it. I believe this is what I should be doing:...
Programmatically switching to the "More" tab on iPhone
I want to programmatically initialise my tabBarController to the last tab selected by the user. This works OK for my standard tabs, but if the uwer was on the "more" tab, I cannot figure out how to initialise it as this tab doesn't (to my knowledge) have an index). Is anyone aware of a way of d...
iPhone How to dismiss a UITabBarController and then show it again?
I will try to explain myself as best as possible, I know the title does not say much. Basically i have 4 Navigation Controllers embedded in Tab Bar Controller. What I want to do is have one of this Navigation Controllers push a new Navigation Controller embeded in aTab Bar Controller dismissing...
UITabBarController moreNavigationController table cell background images
Wow, was that ever a mouthful. :) We've already seen a good thread on customizing the more menu (table view) in a tab bar. For our next trick … how might one add a background image to the table cells? I thought I could get away with overriding tableView:cellForRowAtIndexPath: in my More Table ...
save and restore state of a tab bar controller
I have an application that has a UITabBarController with two tabs, each having its own navigation controller. Now I want to store the state of the application when the user closes it, so that when the user relauches the application will show the same place as the last time before it was closed. S...
UITabViewController memory management
I have an app which consists multiple tabs managed by the class derived from UITabBarController (the only reason I subclassed UITabBarConteroller is to handle shake event for all views). 3 views are from subclassed UIViewContentroller class, one view is UINavigationController which shows a table....
UITabBar with UITableView - I can see the table correctly, but cannot select a row
This may be an easy answer for someone. I first built an a navigation app that had a table loaded from SQLite. The rootViewController (UITableViewController) is loaded from the mainWindow.xib . I added the search and scope functions, and push a detailed view (UIViewController) from a row select...
Determine if UIView is visible to the user?
is it possible to determine whether my UIView is visible to the user or not? My View is added as subview several times into a Tab Bar Controller. Each instance of this view has a NSTimer that updates the view. However I don't want to update a view which is not visible to the user. Is this pos...
Multiple UITabbarComtroller in one iPhone App
Is it possible to have more than one UITabbarController in a single iPhone application? My application has more than one sections, each section needs to have its own UITabbarController to navigate with in that section. New section is to be loaded if a certain type of item is selected from previo...
Tab Bar within a navigation based aplication (Again)
Here is my problem: I've read a lot about how to use a tab bar within a navigation based application, but i still can't figure it out. I have tried both to use and avoid using a tab bar controller, but i just can't find the solution. I already have a navigation based app working. I have several...
Switch to UITableView controller and scroll to start of section
Good Morning, I'm hoping someone would be able to shed some light on how i can switch from a ViewController nested in a tab bar controller to another ViewController nested in a navigation controller nested in the tab bar controller, and then scroll the table view in the section navigation contro...
Not sure I'm doing this the best way
I have app delegate.h & .m files linked to a Main.Nib. Nib has a window and a tabbar controller which has 4 navigation controllers. Each of these 4 do their own thing inside 4 more Nib's containing tableview controllers etc. The tableview controllers take their data from arrays manipulated...
How to change XIB in a tab bar application?
My iPhone app is tab bar-based, but I would like to fire an action which switches out the tab bar controller view completely and replaces everything in the window with a view from a different XIB file. I would guess this has to be done in the application delegate (since this is the "chief" class)...
Difference Between Methods of Switching Tabs
Is there a difference between these two lines of code? self.tabBarController.selectedViewController = [self.tabBarController.viewControllers objectAtIndex:1]; and self.tabBarController.selectedIndex = 1; My app just crashed on the top statement so it might have some memory issues. Are ther...
Is there a way to pop a view controller when the user switches tabs?
Is there a way to pop the view controller when the user switches tabs? I have a tabbar with a navigationController on one of the tabs. The user selects a row in a table which pushes a viewController onto the navigationController containing the table. Then the user switches tabs to a new view...
How to override tabbar's more controller?
I'm having very annoying problem with UITabBarController's "more" tab controller. It supports rotation to landscape mode by default, but does not propagate the event to it's subviews (or view controllers which are managed by it) by calling appropriate delegate methods, so all controllers under th...
Custom UITabBarController Problems with View Controllers and Views
I'm writing a custom UITabBarController so I can fully control appearance of the tab bar. I've got it all working so I have an array of view controllers that it handles. The controller has a main view which fills the screen, and inside it it has a UIView at the bottom for the tab bar. That tab b...
UITabBarController not loading "More" views at applicationDidFinishLaunching
I'm trying to restore the state of my multi-tabbed iPhone application. There are more than 5 tabs, each with it's own navigation controller. On applicationDidFinishLaunching, I determine which was the last tab the user was on and set it with myTabController.selectedIndex = persistedTabIndex; I...
How to know - view controller's current view in iphone
Let's have an example. In application I have a tab bar controller. Tab bar has two items dynamically - two view controllers. User can select any of tab. Suppose user selects first tab. First view controller is already loaded. Now he clicks on a button of First view controller. From First View...