I want to have a background Image for a UITableView
Imagine you have just any grouped table initialized like this:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch
ImageTableViewController *vc = [[ImageTableVi...
Hey Guys,
My app has some table cells that vary in height. The cells can also have a UIButton set to be a detail disclosure button (round, blue with arrow) as their accessory view.
Depending on the height of the cell, the accessory view is positioned differently. At first I thought it was my layout code for my cell that was causing the...
I'm using a UITableView to display custom cells created with Interface Builder. The table scrolling isn't very smooth (it "stutters") which leaves me to believe cells aren't being reused. Is there something wrong with this code?
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPat...
Hello,
I know I can change the selectionStyle of a UITableViewCell to make it highlight blue or grey when selected, but how can I change this when in editing mode. I dont want the cell to normally by selectable, only when in editing mode, like the Alarm part of the Clock application.
Thanks
...
I have a UITableViewCell and it is UITableViewCellStyleDefault. When I try to put text longer than the UITableViewCell, it truncates it. How do I make the cell expand to accommodate this text?
...
How to tell when a UISwitch inside of a UITableViewCell has been tapped?
My UISwitch is set up inside of the cell (generic cell) like this:
UISwitch *mySwitch = [[[UISwitch alloc] initWithFrame:CGRectZero] autorelease];
[cell addSubview:mySwitch];
cell.accessoryView = mySwitch;
And I am trying to detect a tap like this (but its ...
Hello,
how can i made an UITableView looks like the Mail.app from iPhone/iPad? With an heading, the time/date in the right top and 3-5 Lines of text as subtitle?
I cant't find anything about this.
Thank's!
...
Hey everyone,
I calculate the height of a row in the method "heightForRowAtIndexPath" but I need to use this value in the method "cellForRowAtIndexPath" ... is there a way to get access to the value already calculated or do I need to do the calculations again ?
Thks,
Gotye.
...
I know how to use UIWebView and can invoke a WebView if it is associated with a specific button or UITableViewCell. What I am trying to achieve is to have a UITableViewCell with a chunk of text. That chunk of text might contain a URL. I want to make the URL into a clickable link and have that link open into a WebView.
My thought so far ...
I have been working on this for about 2 days, so i thought i share my learnings with you.
The question is: Is it possible to make the width of a cell in a grouped UITableView smaller?
The answer is: No.
But there are two ways you can get around this problem.
Solution #1: A thinner table
It is possible to change the frame of the table...
I have 8 cells that are being built in my UITableViewController. I would like to know how I can show a disclosure indicator on the 4th and 8th cells. Right now I am building it in
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
though I am fully aware it is going to add a disclos...
Hi,
I want to create a right to left UITableView.
right now I have the left to right table view.
I would like to know if there is an easy way to transfrom the left to right table into right to left using the latest iphone SDK?
I've tried the textAlignment on my custom table view cell but with no success.
Thanks
...
Hello,
Can anyone tell me how can I get a cell IndexPath?
I was saving the IndexPath in the tableView: cellForRowAtIndexPath: method but this only loads when the cell is viewed and I need to know its index path on the viewDidLoad method. this resulted in a null value because as I said it only loads its value after the cell was viewed on...
I have set my UITableViewCellStyle to be Value2, and it shows the detailTextLabel and textLabel, but instead of the detailTextLabel being the small text to the left of the cell, it is now the primary text in the cell, and the textLabel is the small text.
Strange behaviour and i'm not sure why? For now i'm just swapping the values over, ...
I'm struggling to create a custom UITableViewCell (in IB) that has a UIImageView on the left, fixed to the top left corner, then 2 UILabel's adjacent to it, side by side. So the cell looks something like:
+---------------------------+
| IMAGE LABEL1 LABEL2 > |
+---------------------------+
What I cannot seem to do is to change the...
I have a simple table view which is editable. All I need the user to be able to do is edit the text field in the cell when they choose to edit the table.
...
Hi
I'm adding support for right-to-left languages for the UITableView.
now I need to move the AccessoryDisclosureIndicator and AccessoryCheckmark from the right corner to the left.
I'm taking the UIImageView path and Now I'm looking for 2 png icons: one for the AccessoryDisclosureIndicator arrow to the left and the second for the Acces...
Hi.
I have a pretty big issue. I am trying to create a favorite-button on every UITableViewCell in a UITableView. That works very good, and I currently have an action and selector performed when pressed.
accessory = [UIButton buttonWithType:UIButtonTypeCustom];
[accessory setImage:[UIImage imageNamed:@"star.png"] forState:UIControlStat...
Hi,
I keep getting a crash when loading a UITableView. I am trying to use a cell defined in a nib file.
I have an IBOutlet defined in the view controller header file:
UITableViewCell *jobCell;
@property (nonatomic, assign) IBOutlet UITableViewCell *jobCell;
This is synthesised in the implementation file.
I have a UITableViewCell cr...
Hi guys,
I have an iPhone application. First view controller which is a UITableViewController has a cell for "category". When user select "category" it will push another UITableViewController where user can select category.
I have done both view controllers but when you click back(usually the title of table) button on navigation bar it...