i want to add an image to UIView background.
self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"imageName.png"]];
UIImageView * myImageView = [[UIImageView alloc] initWithImage:image]; [someOtherView addSubview:myImageView]; [myImageView release];
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.