Hi,
I'm building a custom UITableView with each of the cells containing a piece of text and a MKMapView. I want the map "icon" view in the cell to have rounded corners and this seems to be an issue.
I'm using custom drawing both for my UITableViewCell and my MapIcon (custom map view) that I add to my UITableViewCell.
MapIcon is a subc...
I have large images displayed in a grouped tableview. I would like the images to fill the entire width of the screen. I have been able to make this work using a tableViewCell interface builder, but in an attempt to improve performance I am now trying to do this programmatically.
However, I have not been able to get the image to be flush...
If i do a custom cell, is it best practice to...
put icons and labels all on one view and drop it to the contentView (assuming you want everything to shift in edit mode)
or
put all editable stuff (labels) on one view, and non editable (icons) on another view and drop them to the contentView
or
it doesn't matter because when the label t...
I am trying to figure out the best way to create a view like the app details screen in the AppStore app. I want a thumbnail and text content under it that all scrolls if the content is too long. Is this done in a tableview or a scrollview?
...
For some reason, I can not seem to change the default position of an image in a grouped tableview cell.
In the cellForRowAtIndexPath method I use the following to load the image:
cell.imageView.image = [UIImage imageWithContentsOfFile:MainImagePath];
I've been experimenting with the following to adjust the position of the image but h...
I am still in the process of getting myself acquainted with the iPhone SDK.
This is what I am trying to do :
I have a UIScrollView and each scroll view has an UITableView and I have implemented a custom UITableViewCell.
The desired functionality is initially there is no selection, then the user selects the row and scrolls and makes a...
Hi i`m developing a app in iphone sdk and i want to resize the content of my tableviewcell when the device is in landscape mode.
In my tableviewcell i have an synchronous image and two labels, in portrait mode i looks awesome very nice, but when i turn the device in landscape the content of my tableview doesn`t resize.
There is someone...
I am not sure which one to use? cell.contentView sometimes give me weird errors like [uiview settext]...?? I was trying to setText to a UILabel*
...
This is my cellForRowAtIndexPath function. I could not get the setText to the label to work. Can you please help me out?
// Customize the appearance of table view cells.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";
UILabel *messag...
I am building a UITableViewCell. I am using the style UITableViewCellStyleSubtitle for my table view cell. In the textLabel of the cell I have data that can require a wrap. So to accomodate, I want to move down the detailTextLabel so that the wrapped text isn't covered by the text in the detailTextLabel. I am attempting the following...
I have a tableview with large images that fill the cells and the row heights are set based on the image size. Unfortunately, the table jerks badly when scrolling to the next cell.
I've been told that my tableview will scroll more smoothly if I cache the row heights and the images before they are loaded into the table.
All my data are st...
By default there is a single line separator in uitableview.
But I want to put my customized line as a separator.
Is it possible ? How ?
Thanks in advance for helping me.
...
All:
I have been fighting with an issue which has been bugging me for the past few days.
I have a UIPageControl and in each page I have a UITableView. Each tableView can have upto 4 cells. A user can make a selection, go to next page and select something else. I want to retain the selection in each page, so the user can change his/her ...
Is it possible for a UITableViewCell's accessory view to be sized based on the size of the UITableViewCell that owns it? How can I achieve this?
...
When you enter edit mode for a UITableView (grouped but I believe this applies for the other types as well), the cells shrink to the right to accommodate the delete selection buttons. For cells that I dont wish to add/insert/delete any content, is there anyway to stop this behavior? ie. the width remains fixed.
I've tried setting access...
I have a tableview that occupies only the bottom third of my view.
I rotate it 90 degrees using CGAffineTransform and resize it:
[UIView beginAnimations:@"rotate" context:nil];
CGRect oldFrame = self.table.frame;
CGPoint oldCentre = self.table.center;
// Swap the width and height
self.table.frame = CGRectMake(0.0, 0.0, oldFrame.size.he...
I have a custom UITableViewCell with a UIImageView that is overlapping the round corners on the first and last cell. Given that I am able to determine which cell is the first/last, is there an easy method for rounding a single corner (either top-left or bottom-left) of a UIImage so that it will look good?
...
The iPhone table programming guide says to carefully consider the "tradeoff between optimal scrolling performance and optimal editing performance."
What type of "editing" would result in bad performance if cell contentViews are custom drawn via drawRect:?
I can imagine the animations in a row drag and drop not working well. But what ...
I'm using a table cell with subtitle and wanted my text to become a bit larger. Changing the size
cell.textLabel.font = [UIFont boldSystemFontOfSize:30];
and cell height heightForRowAtIndexPath to 80 I run into the problem that the textLabel is half hidden by detailTextLabel. I'm surprised this is not handled properly. I have tried to...
I have a Table View Controller with cells. I want to update the text that is displayed on the visible UITableViewCells. Is there a way to get a reference to the cells that are currently on the screen?
...