Loading

Wednesday, September 29, 2010

Color With Image Pattern

NSString *backgroundPath = [[NSBundle mainBundle] pathForResource:@"Display" ofType:@"png"];
UIImage *backgroundImage = [UIImage imageWithContentsOfFile:backgroundPath];

return [UIColor colorWithPatternImage:backgroundImage];

No comments:

Post a Comment