Search Results

Search found 2 results on 1 pages for 'p5ych0'.

Page 1/1 | 1 

  • BackgroundColor of UITableViewCellStyleSubtitle labels ??!?

    - by P5ycH0
    I am trying to create a table with an image as a background. To achieve this, I started out with the background: self.view.backgroundColor = [UIColor groupTableViewBackgroundColor]; This resulted in a background image which appears in tablecells as well. That is not something I want, so I tried to set the cell's backgroundColor: cell.backgroundColor = [UIColor whiteColor]; This had no effect at all !!!. Hmmm strange. So I tried this: UIView *backgroundView = [[UIView alloc] init]; backgroundView.backgroundColor = [UIColor whiteColor]; cell.backgroundView = backgroundView; [backgroundView release]; This works almost. The only problem left is that the textLabel & the detailTextLabel still show the background behind them. Setting the backgroundColor on those labels to white doesn't do anything either. How do I proceed? Where do I go wrong? I am trying to achieve a tableView like the worldClock app has.

    Read the article

  • XCode debugging. How can I see where my code fails ? I get no stacktrace...

    - by P5ycH0
    Currently I am struggling to find out where my code fails. Xcode sometimes gives me a stacktrace, but currently is doesn't. I just get an error msg in my console like: *** -[CFString copyWithZone:]: message sent to deallocated instance 0xbe10d80. But sometimes I don't get an error message in my console at all when my app crashes. How can I figure out where the problem acually occurs? How do you guys locate your problems? How do I get XCode to give me stacktraces?

    Read the article

1