I am new to iPhone development. I am displaying in a group tableview contents parsed from XML.I want to disable the click event on it (I should not be able to click it at all.) The table contains two groups. I want to disable selection for the first group only but not the second group. Clicking the first row of second group navigates to ...
Hi,
I am trying to set up a table view with a background that scrolls. The background is a repeating cloud image.
As a preliminary attempt to implement this, I have used the following code:
- (void)viewDidLoad {
aTableView.backgroundColor = [UIColor colorWithPatternImage: [UIImage imageNamed: @"cloud.jpg"]];
aTableView.separa...
I have a variable called "conteggio" in my code, you can see it below... this variable have to increase of 1 at every row of my tableview... when i try to do this i receive a result like: 4,8,12,16,etc. multiples of 4 for each row... it seems that it repeat the code 4 times for each row.
And if i scroll back and forth my table those num...
I am currently trying to implement a grid view in the iPhone SDK, whereby in portrait mode there are 2 items wide and in landscape mode there are 3. I am implementing this using a UITableView as suggested here.
What is the best way to change the number of rows and the view of the UITableViewCell with device rotation?
If anyone knows a ...
I am trying to create a transparent table with an alpha value. In my main loop, I create a background image, add it to the main window, then create a UITableView with a backgroundColor that is transparent and add it to the main window. For some reason the tableView background color is getting set twice on cells with entries. (i.e. a cell...
I am working on an in app purchase app. I would like fill a table view with a list of products,
and put a BUY button on the right hand side of each entry. Does anyone have the UITableView - fu necessary to do this?
Thanks!
...
I have a simple application that uses a few non-standard UITableViewCellStyles (like UITableViewCellStyleValue1, UITableViewCellStyleValue2 or UITableViewCellStyleSubtitle).
When I run the app in the Simulator all works just fine; but when I run the app on the Device, the UILabel's don't necessarily vertically line up in the middle of t...
Instead of having a '+' sign to insert a new row..is there a way whereby i can insert a new row on my existing table?meaning to display the "Insert new row" on the last row of my uitableview..and also is it possible to edit the string to different name rather then just "Insert new row".
...
For example, how would I set it to Tahoma?
...
Hi.
I have a custom view
MyView : UIViewController <UITableViewDelegate, UITableViewDataSource>
with a UITableView within (and some buttons and labels).
I have a notification from another view to populate the table with data form a sqlite3 database. I passed an array and after handle the notification I reload the table ([tableView ...
I have custom UITableViewCells (created in interface builder) which are used for a static UITableView which for the sake of argument I will call the AddUserTableViewController (i.e. I do not use autoreleased cells as I only have 5 rows).
In the top cell (used for the user name) I have embedded a UIButton which I use to open an UIActionS...
I am using the following code to add the next line in the same same but i am not getting the output.
cell.detailTextLabel.text= [self.dataArray1 objectAtIndex:indexPath.row];
where dataarray1 is the following array.
self.dataArray1 = [NSArray arrayWithObjects:@"sugar : 1 teaspoon", @"salt : 1 teaspoon",@"sugar : 1 teaspoon",...
So I have a nicely working UITableView consisting of 3 rows (each including and image, and a varying number of text fields).
Now the 4th row has a UISegmentedControl. As soon as I added it, the UITableView lags/jumps/skips. When I take it away again, everything is smooth.
How can I add the UISegmentedControl and still have smooth scrol...
I'm building a detail view for a UITableView. The detail view contains a UITableView which has two rows, and I want the first one to be selected when the detail view is opened. I have tried to use the method [selectRowAtIndexPath:animated:scrollPosition] in [viewWillAppear]:
- (void) viewWillAppear:(BOOL)animated {
[[self tableView]...
Hi all,
How can I change the style of a edit button from a table view? I tried it with the following code but it doesn't work.
self.navigationItem.rightBarButtonItem = self.editButtonItem;
self.navigationItem.rightBarButtonItem.style = UIBarButtonItemStylePlain;
Thanks in advance.
Sean
...
I am using a UITableView and when I setEditing:YES I don't want a delete option to be available. I just want the ability to reorder the rows of the table. Is there a way to prevent the - button from showing up on the left?
...
Hi
I was wondering how to create a UITableView with editable components.
If you look at the network settings in the iphone, where you can enter the static ip address, etc.
How to do this ?
Thanks
...
I am using a slightly larger backgroundView image for the last row of my table. When the last cell is displayed, the imageView, textLabel, and accessoryView are all maintaining the same margin from the bottom of the cell, rather than maintaining their position in the center of the cell like they do on the other rows of smaller height. T...
I have a UITableView where when I put it in editing mode, I want selective rows to be selectable, however, they are not. Is there a way I can force them to be selectable?
...
I need to tell a uitableview to reloadData when something happens on another view (or at least that is what I think I need to do) how do I do it??
the uitableview is just an IBOutlet of a uitableviewcontroller object.
more details:
So i have an array of data as kind of a database and a user creates objects to populate the database on v...