iOS iPhone Add label and text field below tab control - iphone

I'm a beginner with iOS apps, and I inherited an app I need to make some changes to.
The main view of the app is a tab view, and we'd like to add below the tab view a box with some labels (and text). The labels shouldn't change as the tabs change.
How do I do this?
I noticed something called a SplitView, but I wasn't sure how to use it, and if it's relevant for my need.
I hope that my needs are clear enough. If anyone could make recommendations as to how to do it/point me in the direction of a tutorial, I'd be very appreciate.
Thanks in advance!

The UISplitView is only for iPads. It will not work on the iPhone as far as I know. How are you creating your UITabBar. If you do it programatically you might be able to create it like something like this:
Pseudo Code
UITabBarController *mySpecialController = [[UITabBarController alloc] initWithFrame:CGRectMake('put in coordinates here')];

Related

How do I lock text fields and images in place in ios?

When I am designing the interface everything looks fine.But when I run the project some text fields move and get mixed with other text fields.Some images go down.How do I lock everything in place ,so that the gui is exactly the way I designed it
hi iOsBody there are some layout problem is bellow Tips you can set properly.
in your issue you have use UINavigationController in every viewController but when you set XIB layout you can not add this 45px UInavigationBar space in XIB that's why you facing this issue.
while you use this in ios6 You can also use AutoLayout but its some time getting Creshed in ios5 or bellow ios
So please check proparly x,y and also put calculate px of UInavigationBar or statusbar while create Interface.
You can fix property of Textfield & image. So, it'll not move anywhere & stay at their own places.
Hopefully, it will help you.
Thanks.
If your view using AutoLayout functionality than uncheck it.
see the option Use AutoLayout in your main view .
1)this will help u auto size the components

Navigation in a UItoolbar in iOS

Take a look at this picture:
I have something like a toolbar includes some buttons. user can move to left and right as you see. I know how to set the button in toolbar, but I don't know how can I fix this kind of navigation on the toolbar. Is it possible in the toolbar?
If yes, how?
if no, do you know any control in iOS that can help me?
It might be worth browsing through Cocoa Controls. They really have a lot of excellent pre-made custom controls for iOS and the Mac.
Personally, I would just create my own custom UIScrollView subclass which contains some UIButtons. Then set the scrollview to scrollView.pagingEnabled = YES after setting a correct content size.
Apple has an excellent guide on using scrollviews with paging here:
http://developer.apple.com/library/ios/#DOCUMENTATION/WindowsViews/Conceptual/UIScrollView_pg/ScrollViewPagingMode/ScrollViewPagingMode.html

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 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

How to add an「i」button like the Stocks application in 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:...]