tab bar controller with 4 tabs and one button - ios

I have created a Tab Bar controller. It has 4 tabs. I now want to place a Button which would take place as the 5th tab. Clicking the button should perform some action (i.e. log something)
Here is a image of what i am trying to do. The last tab is supposed to be a button and not a Tab Bar View Controller. Is this possible to do?
Saw this link but not sure if its what i am looking for. link

As per apple guidelines when you add more then 5 tabs the 5th tab will auto named as More; this because of the use interaction and focus of touch. And not recommend to have more than 5 tabs when you go with custom implementation. This is because there are chance of rejections when you submit the app to App Store.
For your reference here is the same question by other user 5th tab to be a button

I don't think Apple's iOS SDK has such way to approach. I really recommend you to check out some customized design like
KYGooeyMenu
If you think that's what you want, you can integrate it into your project.

Related

How to recreate the Explore Menu on the Apple App Store

The Explore menu in the Apple App Store allows you to make a selection from a UITableView and then it segues to a new view while showing the previous selection at the top of the screen. It's the best example of mobile breadcrumbs I've ever seen. Here's what it looks like in action:
On this screen I click "Consumer Products" and that shows me the next screen. Without taking me out of the view.
You're able to press on any of the breadcrumbs and segue back to that view.
Can you please show me in Objective-C, how you would achieve a segue like this?
(The most important part of the segue is the breadcrumb functionality at the top of the screen.)
Thanks!
Rob, I've made very simple project, but hope it will give you an idea how you can achieve such effect
BreadCrumbsTable

How to add navigation drawer feature in later views(for ex: 2nd view) of the app?

I am trying to implement Navigation Drawer like menu on my iPhone project.
I have looked at the forums and find out there are many samples given in this link:
Stackoverflow Navigation drawer query
But, they have not helped me much. Because, all the apps are developed Navigation drawer in the Home screen(1st view) of the app itself and using window.rootViewController
My requirement is, I need Navigation Drawer like menu NOT in the home screen(1st view) of the app, rather need on the 2nd view of the app, hence I don't know how to add this feature.
Could someone please suggest me how to add navigation drawer like menu feature in later views(for ex: 2nd view) of the app?
I don't quite get how you want the menu. You can add Navigation Controller anywhere you want, all it's going to do is give you a Navigation Bar on which you can give a title and a Back button, usually with the name of the title of the previous page.
You can simply add the navigation where you want and control drag from the view or object you want to perform the segue. If it's a button you can use an IBAction with a performSegueWithIdentifier method.
Hope I could help

How to change the functionality of back button to display a list?

In my app I use UINavigationController to navigate through hierarchy of views but I encountered a problem - I need to display a list of buttons (when pushed they go to a view controller) instead of the back button.
What is that functionality called? I know how to change the button title and functionality but don't know how to create this list (a good example of my question is the Facebook left bar which shows Friends and other stuff).
In general you're looking for a drawer. That's what it is usually called. There are many libraries/frameworks out there that implement it in a different way so there is no general approach how to "change back button to...".
Check for yourself:
ViewDeck
DDMenuController
PKRevealController
MMDrawerController
Though, here you will find a very good article about very unique way how to implement this "hamburger" icon feature. They provide nice research and you'll find some very interesting information there.
It seems that you need control like MMDrawerController for showing side menu.
Try to make modal segue or hide back button programmatically. Then you add your own button and configure it. Default back button only return you to previous view, you need to make your own.

TabBar More Button "remembers" last opened page

Hi stackoverflow community,
I really need help with a problem, I found no working solution.
I have an App which uses the TabBar for navigation.
There are 8 Tabs, 4 on the main screen and 4 in the tableview of the "MORE" Button.
My Problem is that when I go to one of the pages in the "More" menu, and then change to another page by clicking on a Tab, the open page will be saved.
And when I now click again on the "More" Button, this page will be directly opened.
But I want the "More" Button to ALWAYS open the List with the possible selections.
How can I achieve this?
I'm really thankful for any help :)
PS: I implemented the TabBar via the Storyboard.
This is expected behavior. What you could do is to overwrite the –tabBar:didSelectItem: item method and manage to pop the visible view controller off the "more" item navigation stack back to its root view controller every time the more item was selected.
Be aware that this may cause confusion and frustration on the user's side, depending on the depth of the navigation stack (i.e. the deeper the user goes, the higher the frustration might be).
Also, this might be against Apple Human Interface Guidelines and therefore there is a chance that this custom behavior leads to a rejection.

How to automate a segue using Storyboard feature in iOS 5?

I am trying to learn about Storyboards feature in iOS 5. I have this app that presents a EULA view with an accept button the first time it opens. The app remembers that the user accepted the EULA, and does not show it again. It shows another view (a tab bar view) as the first view from that point on. Can this be accomplished with storyboards? So far, I am only able to use a segue for user controlled actions. Where do I put the logic of checking the preferences to see if the user accepted the EULA and picking which UI View controller to show next, using one storyboard for the whole app? Hope this is clear.
thanks,
You can check your setting in your main view or in the app delegate using -application:didFinishLaunchingWithOptions.
Once you have decided which view to display, you can transition to that view using -performSegueWithIdentifier:.

Resources