How to add an「i」button like the Stocks application in iPhone? - iphone

I want to add an「i」button on the top right in the navigationbar, just like the one in the Stocks application. Does iPhone SDK has this built-in button? I looked up the document but couldn't find any. Thanks a lot.

Sure, this is a standard UIButton with a type of info light. You can set it up in IB. However, you can't add it to your Navigation Bar, since nav bars can only have bordered buttons. The simple solution is to create it manually and it via code using [UIBarButtonItem initWithCustomView:...]

Related

UIView tab bar on top, like HTML on iPhone view

I'm developing a Hotel reservation iPhone application.
I tab view that I mention below image. So I don't know how to search it even. :(
So does any one knows about how to get it to our application I mean Is their any controller to this. Or else how to code this. (Is it html coding??)
Note : I am using Xcode 4.2 and story board. :)
Looks like you want to use UISegmented Controls with custom background, and then create subviews that will switch when you hit the "details" / "Diner Reviews" buttons.
Here's a custom iOS tabbar control similar to what you've drawn
http://cocoacontrols.com/platforms/ios/controls/bhtabbar

How do I show a small option view on clicking bar button item?

I have a requirement to pop up a small option-view on clicking bar button item, similar to this image.
How can I achieve this? Any tutorial or link is highly appreciated.
I'm not sure this is available on iPhone but I know that on iPad UIPopoverController it looks so.
Apple Documentation
You can find source code here to create PopoverController on iPhone !
You need to create an UIView and set for backgound you image. In this new view you can add UIButtons to let the user to select an option.

iPhone how to create scrollable filter like Mashable App?

I'd like to create a scrollable filter just below the navigation bar like in the Mashable iPhone app.
Here's what it looks like:
http://itunes.apple.com/us/app/mashable/id356202138?mt=8
http://img20.imageshack.us/i/mashable.png/
Does anyone know how to do this ?
That's certainly a custom UIView added as subView to their UITableView...
Yes this can be done by adding a number of buttons in a UIScrollView by a loop and then add two custom buttons (one for left arrow and one for right arrow) over your scrollView.
or
you can follow the tutorial
http://blog.sallarp.com/iphone-sliding-menu/

Really cool way to create custom UITabBar for iPhone app?

I am doing a lot of researching lately about how to get a different looking with nice effects UITabBar on my iPhone app, but unfortunately I am only finding things on how to replace background color etc.
Well, I've checked out this app called Momento which is pretty cool and presents a very slick tabBar:
So there are a couple of elements here I would like to ask you guys if you could help me by giving me the right directions on how to get a similar effect :)
Arrow above items: as you can see this app has this animated arrow that runs above the selected item with a very smooth animation.
Selected Stated of the item's image is not that blue-ish default one neither the default state which displays in a different shade of brown and gray version.
nice Items separators with beveled vertical lines.
different background image for the tabBar
different height for the tabBar
At this point after some research I am able to set the height and background image by subclassing UITabBarController but I'm still not sure on how to accomplish the other items specially the first one related to the nice arrow effect.
How do I do this? Please clarify what can or can't be done by subclassing the UITabBarController and specially if can be done in Interface Builder.
There's a project on github called BCTabBarController that aims to mimic the tab bar used in Twitter for iPhone. It's got some of the things you're looking for, and should give a great starting point.
Both of these are good answers, but both libraries have problems: BCTabBarController doesn't know how to create the "blue" highlighted version of a tab bar icon; and iDevRecipies doesn't send events to child viewcontrollers nor resize the navigation bar on rotate.
Be warned: custom nav bars are a lot of trial-and-error debugging (as I have found).
Simply use a UIView with TabBar width and height.Add custom background image and custom buttons on the view.Set the fileowner of the view as AppDelegate.Now you can simply connect the IBActions with the buttons.The Custom view can be placed over the tabbar by addSubView to the TabBar controller's view.You can switch between viewcontrollers by using the setSelectedIndex method of tableviewcontroller in the button action.

How do I center UIBarButtonItem with custom look?

Alright, so I have a TableView in one of my Views in my iPhone app. I'm using a UINavigationController, so using that I created the UIToolBar at the bottom of the table. Works great. However, I want the items in the toolbar to resemble how the Facebook app has them:
Not only would I like the Buttons (I will have only 2) to resemble those. (They connect when touching another button), but I really want to show the user what "Tab" they are on. In the image above, it is obvious to the user they are on the Wall. When they touch "Info", it becomes darkened and the user knows where they are. Does anyone know how they did it so my app may also have clear navigation?
What you have on a picture is standard UISegmentControl with UISegmentedControlStyleBar style - you can use it.
Just use a UISegmentedControl like they did