uitableview

UITextField turn places with UILabel in the UITableView during scrolling

I have a strange problem with UITableView and UITextField inside the cell (as subview). In the window view (UITableView, grouped, scrollable) there are two sections. First section has got 5 rows: 1.1 - cell with UITextField 1.2 - cell with UILabel 1.3 - cell 1.4 - cell with UITextField 1.5 - cell with UISwitchButton and the second ...

multi-section UITableView issues

Hi, I have an UITableView that contains 3 NSArrays and 3 NSDictionaries for each array. - (void)viewDidLoad { [super viewDidLoad]; contentArray = [[NSMutableArray alloc] init]; self.settingsArray = [NSArray arrayWithObjects:@"Settings", nil]; NSDictionary *settingsDict = [NSDictionary dictionaryWithObject:settings...

UITableView background showing in Interface Builder but in simulator

Hi all, does anyone know why, if I add an image UIImage as background, I can clearly see it behind my grouped table view in Interface Builder. However when I launch the app, the background is not showing at all, both in simulator and device. Apart from adding the image, I suppose I already did all the steps at TableView programmatic si...

Take screenshots of a UIView including 3 UITableView(visible+invisible) part

Hi, i have a UIView having 3 UITableView and need to take screen shot. But problem is invisible part of the 3 tables . Can anyone help to find a way to take screen shot of the whole view including complete scrolled contents of the tables. ...

How to display the UITableView programmatically?

Hi, everyone, I want to ask a question about the UITableView of the objective C. I am writing a program and I would like to create the UI programmatically. However, I don't know how to display the table programmatically. I already have a NSMutableArray to store the displayed data. And I create a object UITableView *tableData;, what sho...

How to make a cell in a grouped tableview a button for the iphone

Currently I have a grouped tableview with four different custom cells. My last cell needs to be a button but I'm not sure how to implement this correctly. My code is below: cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease]; UIButton *btn = [UIButton button...

UITableView frame modification with animation issue

Hello. I have tried in so many ways to animate the frame modification of a UITableView, but when I shrink the tableview then the animation isn't smooth, first the cell content disappears, and only after that the frame is modified. As I saw this problem is present only in older OS, from iOS 3.2 this problem is fixed. Can anyone tell me a...

Working with text fields in a UITableView

Hi I am making a search form with a number of free text fields that I would like the user to edit in line on a tableview (and not go to a seperate view for each individual item). So far I have it so when you press on the field, a text input dialog appears, here is the relevant code: - (UITableViewCell *)tableView:(UITableView *)tableVi...

How can I add a static background behind a UITableView programmatically?

I have a TableViewController and would like to have a static picture as a background, which doesn't scroll along. The way that everyone recommends using [UIColor colorWithPatternImage:[UIImage imageNamed:@"backgroundPattern.png"]] doesn't work as it will 1.) move along and 2.) put the background pattern in every cell I know ho...

UITableView (subview) frame resize async data

Hi, I am inserting a UITableView as a subview in the RootView. The data is loaded asynchronously using ASIHTTPRequest. I want to resize the tableView frame size when the data finishes downloading, so that the tableview is scrollable. Please find the code below, I am stuck on this and would really appreciate any help. // RootView which...

How to get ID3 tags for media files on iPhone

Hello. I need some help. The situation looks like this: I can get list of media files (mp3s, m4as, m4vs an so on) with link to the file (looks like: http://10.0.1.1/Media/Files%20Folder/File%20Itself.m4v So I get an array consisting of links to these files. I need to display these items in UITableView with corresponding tags (Genre, ...

autoresize of uiview

I have a uiview in a tab controller And in it is a uitableview When toggling in call status bar it doesn't do anything The view is not automatically resized It assumes the right size based on whether the in call status bar was toggled when the app starts but if the status bar is toggled whilst the app is running nothing changes ano...

Load the table view again after returning form another view

hey, when my application loads i have a table view which shows data present in my database. On clicking the add button it goes to another view and the data inserted is updated in the database. Now how do i load this updated data when i return from this view to the first view. Which method do i need to call? ViewDidAppear? or ViewWillAp...

change background color of a section header title (normal tableview)

hi, My app looks just like the default address book app on iphone. For each alphabet there is a section header in the address book( A, B . .) in gray gradient background color. Is it possible to override that default color to some other tint color ? ...

UITableView becomes slow when switching views.

Hi, I'm working on an app which has a main menu which then switches views based on the menu item clicked using a UINavigationController. Whenever I run my app and click on an item in the menu, it is a good five seconds before the view loads. Is this normal or do I need to do this in another way. Thanks for looking! My code in RootViewCo...

back button is clicked and previous view loaded (UINavigationController)

hi, My app has 2 table view, Tablview A leads to Tableview B. When i change something in TableView B and press back button i got to make a change in tableview A. How o find out that a view is just poped from a stack and displayed ? is ther any delegate which shows this message ? ...

ext_bad_access when trying to show a tableView

Hello there, I'm having the following issue: I have a tab-style app. Eacht tab has its own viewcontroller and xip. Within the first tab-view, I try to display a button which load a next view, showing a grouped tableView. Everything works as expected, the numberofSectionsInTableView is called, and then I get an ext_bad_access error. ...

iphone store table-cell text into a file

HI, From a table, once i selected the row, i would the row name to be store in a text file. how do i do that? ...

UITableView giving strange results

Hi all, Im sure this is going to be one of those things where someone points out something really obvious that Im doing but I cant for the life of me find the problem. Basically I have an array of strings and I am loading the text from the array into my uitableviewcells as and when it is needed. The problem comes when I begin to scroll ...

How should I initialize an array that's a member of a UITableViewController?

The data source for my table view is a plain NSMutableArray that will be populated as the app runs, but will be empty when the Table View first loads. The class interface looks like this... @interface ViewController_iPhone : UITableViewController { NSMutableArray *serverList; } @property (retain, readonly) NSMutableArray *serve...