I have a UITableView with a segmented control at the top. When you tap on the different segments, I want the table to reload with a new different sized array. I have tried everything including [self.tableView reloadData]. When you click on a different tab now, it only changes the cells that are out of view and does not add any more. ...
Hi,
I would like to bring some color to the texts of my UISegmentedControl. So, I've searched a bit about this topic, but it seems to be not possible out-of-the-box.
But I found this nice blog post (link text), how to build an image out of a custom text and then assign it to the segemented control. Works fine, but the text in these cre...
Anyone had a smiliar bug? The control is placed from Interface Builder and not modified in any way by code. It was working fine until some time ago after a random build the bug appeared. Happens in two places in my app while the same exact kind of setup is fine inside another viewcontroller. In all cases the controls are inside a UINav...
I have an UISegmentedControl with two buttons. I want each button of control to have specific color of borders and title.
Is is possible and if yes how it can be archived?
...
I have a tab bar based application.
What is the best way to toggle between 2 different UITableView views?
Should I use a wrapper view and add those 2 views to it and depending on which segment
was chosen I will show the correct view?
Using only one tableView will not work because the layout is different between those
2 tableviews.
Th...
I'm building a segmented control within my viewDidLoad method, like so:
NSArray *tabitems = [NSArray arrayWithObjects:@"ONE", @"TWO", nil];
UISegmentedControl *tabs = [[UISegmentedControl alloc] initWithItems:tabitems];
tabs.segmentedControlStyle = UISegmentedControlStyleBar;
tabs.frame = CGRectMake(185.0, 7.0, 130.0, 30.0);
tabs.select...
I have created an up/down arrow segmented control button on the right side of the navigation bar in my detail view. In a table based application, how can I use these up/down arrows to move through cells in the parent table?
The apple "NavBar" sample code has an example of this but the controls are not functional.
The iBird program has ...
How to place a uisegmentedcontrol in the navigation bar of a view of a tabbarcontroller which is implemented through code..
...
Running through an iPhone SDK book and one of the examples has me creating a table and then later adding a UISegmentedControl to the table for sorting.
I dutifully did this in IB, and it looks great:
When I run it in the simulator or my phone, it's totally squished:
The buttons work perfectly, it's just they are not sizing accordi...
I am trying to change the views (Master and Detail) of my spliviewcontroller using a segmented controll located on a toolbar on the DetailView.
I'm not sure how to controll these views.
Any help would be greatly appreciated.
...
I am new to iphone development.I have created UISegmentedControl having 2 segments. I want to to display images for each segment instead of title.Here is my code
NSArray *itemArray = [NSArray arrayWithObjects: @"segment1", @"segment2", nil];
UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:itemArray];
se...
Hi all,
I am working on an iPhone view that has some header text along with a UISegmentedControl at the top and a UITableView beneath it. When a different segment is selected in the UISegmentedControl, I need a different set of records to be displayed in the UITableView.
What is the best way to implement this? Should I have one UITab...
I am trying to work with a segmented control inside a a tableview, then when a user selects an item, I'd like to show a spinner, while some info posts to a webservice.
The problem that I am having is: How do I add a delegate and access the referenced segmented Control, so I can set it's alpha or visibility to NO? Also, what's the best...
I have implemented UISegmentedControl in my application. None of the button is selected in normal state. I want to implement button click event when first segment is selected and another event when another button is clicked. Thanks in advance.
...
Hey.
My customer wants a design-change, but I just can't figure out how to do this!
The app currently have a UITabBarController shifting between some UINavigationController's. My customer wants to use a UIToolBar with a UISegmentedControl shifting between the controllers instead.
I want to keep the UITabBarController, because that tak...
Hi,
I'm using a segmented control in the navigationbar in a tabbarcontroller app.
The problem is that after adding the segmented control to the navigation bar the title of my view disappears form the tabbarcontroller.
How do i work around this problem?
...
This is probably a really simple question but I can't seem to find anything in the APIs or across any search engine.
I have a Segmented control that i have set to momentary as a user will select a couple of makes of a car that they want to search for. The issue that I'm running into is that I can't seem to figure out how to recognize wh...
Hi Buddies,
I have created scroll view and set the Segmented control as subview. If i scroll the segments and it moves horizontally. I have set,
segmentedControl.segmentedControlStyle = UISegmentedControlStylePlain;
I got an output like this,
But i want to plain background with the segments like this,
So is it possible to creat...
Hi!
I am currently adding a UISegmentedcontrol to the toolbar in the navigation controller programactically (As below).
This approach works fine, I have my UISegmentedcontrol, it fires the selector that I have setup no problems.
Problem is - I would like to use the selectedIndex of this control in order to query my data model and pres...
In my iPad app Viewfinder (iTunes Link), I'm trying to recreate the look of a UISegmentedControl as seen in the footer of Keynote's Build In popover:
The iPad HIG suggests using a bottom-aligned UIToolbar, but the appearance is incorrect. This screenshot shows Black Opaque, but none of the standard styles match Keynote.
Any advice ...