I want to use such background for my app. This image is from ios 6. Is it the way to programatically attach it to the view. Don't want to include this image in project and use UIImage view since it has already stored in ios
Asked
Active
Viewed 2,859 times
4
-
I don't think Apple let's you do that. – Linuxios Mar 28 '13 at 14:04
2 Answers
6
Yes, you can do that by selecting Background of your View in Attributes inspector, select other and then third tab -> iPhone/iPad SDK -> ScrollViewTexturedBackground (like on the screenshot below).

Dmitry Zhukov
- 1,809
- 2
- 27
- 35
2
UIColor class has the following class method
+ (UIColor *)scrollViewTexturedBackgroundColor
try to set background color.
myView.backgroundColor = [UIColor scrollViewTexturedBackgroundColor];

Mert
- 6,025
- 3
- 21
- 33