I am trying to create a custom UITabBar. I have the regular UITabBarController working fine, but optimally, I wish to get it looking like this:
What is the best way to approach this? I can't seem to find any useful examples in Monotouch.
Thanks
The way I figured to make a tab bar like that, is just a bunch of custom buttons that are arranged and programmed to look like a tab bar, but really they are just buttons. I was able to recreate the instagram tab bar in one of my apps and it looks fairly similar. That's the only way I could figure how to do this type of tab bar when I was teaching myself.
Hope that helps.
There are some really good explanations around for how to do custom tab bars - especially on http://idevrecipes.com/2010/12/16/raised-center-tab-bar-button/ - source on https://github.com/boctor/idev-recipes/tree/master/RaisedCenterTabBar
I believe I have seen a github monotouch sample of this same code but I can't find it right now!
Related
I'm a fairly new programmer and I had been taught how to switch between two views using a toolbar button as the root controller. I am now making an app for fun that switches between 5 views (but for the look of it I dont want to use a tab bar). Instead of using the tab bar i would like to have 5 buttons on each view that switch between the other views and itself. I am at a loss of how to even begin. I would greatly appreciate if anyone could offer any kind of help or even a link for a good beginner tutorial on the matter... Thank you.
Start an Utility Template project in XCode.
RUN IT...USE IT..Then go through the code to learn how it functions
This way you will become better : Not by a particular answer here .
Im developing a tabbar application.
There are almost 7 tabs in this app.
Usuall when we add more than 5 tabs a "more button"will come and rest of options will come under that "More option".
But i found a very interesting app in app store and they are moving the tabbar to left and right(just like we do in scroll view) like in the image below.
How can i implement this.
Can anyone help me with this please.
Thanks in advance.
As far as I can see, it's 2 custom UIButtons placed over the tabBar that may programmatically rearrange the tab options on their IBActions. What makes me say that is that the highlighted area of the last tab is just normal, and the arrows does not seem as well placed as what Apple could have done by standard.
You can use custom tabBar, like InfiniTabBar, nice and functional.
Project on GitHub:
https://github.com/iosdeveloper/InfiniTabBar
I'm new to iPhone development, and I wanted to create an app with tab bar and navigation.
I came across an article that helped me to achieve that: http://www.devx.com/wireless/Article/45161/
However, I got confused why we need to create a new UITableViewController subclass, but not program directly in FirstViewController? Which seems no use but just for tab bar. I actually tried that but not work.
Please kindly read the article which is simple and help me to understand that, thank you in advance!
You did understand, as you said: The FirstViewController is just there for presentation reasons. For showing an example of a tabbed UI you should have at least 2 controllers. This is what the example teaches you.
I'd like to re-create something similar to Instagram's tab bar for iPhone, which has a "custom", bigger tabbar item in the middle of the tabbar (see http://cdn.venturebeat.com/wp-content/uploads/2010/10/instagram-screenshot.jpg)
I can think of several approaches, but was wondering if anybody has suggestions on an easy way to accomplish this.
check out this post. It explains how its done.
http://idevrecipes.com/2010/12/16/raised-center-tab-bar-button/
I have a question about iPhone app design approach... I have in mind to make some complex application and I think that the best base for my needs is "Tab Bar Application" template. Actually, I've been looking some apps on iPhone, and AppStore's design is definitely what I need; a Tab Bar based app with different options on the top - Segmented Control, Search Bar, Navigation Bar etc. Each of Tab Bar's views would have another 'navigation-based app' or 'utility application' inside of it...
I spent lots of time on searching for my 'problem' but I still can't comprehend how to 'nest' few navigation controls in one application... Really, any link or thought would be extremely appreciated! Even your mind flow about how to accomplish what I need is nice because I'm totally tapping in dark here...
Just to mention that I'm pretty much new in Objective-C and I've heard something about Delegations but I don't know exactly how to use that... Is that something that would help me build my idea?
Thank you very very much for your time!
The View Controller Programming Guide has a section on doing what you're thinking. The link gives a conceptual overview of how the application is laid out and gives code samples on how to do it.