I am wanting to place a background on my application and was wondering if there's a way to use one of the dynamic backgrounds like those that are provided as default wallpaper options. Is there any way to make that possible?
Asked
Active
Viewed 726 times
0
-
4Yes there is. You can start by reading this: http://www.teehanlax.com/blog/introduction-to-uimotioneffect/ – Desdenova Feb 04 '14 at 14:39
-
1Look at this. http://stackoverflow.com/questions/18972994/ios-7-parallax-effect-in-my-view-controller – sangony Feb 04 '14 at 14:39
-
@desdenova, I think you should add your comment as an answer – Garoal Feb 04 '14 at 15:11
-
Those are all ways to do a Parallax background, not a Dynamic background. – djunod Apr 21 '16 at 00:36
1 Answers
1
If you just want a solid colour then set the background colour using setBackgroundColor
.
In case you want an image then use view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"Background.png"]]
;
Hint : Save and Pick the value of the colour/ image from NSUsersDefaults.

Akshat Singhal
- 1,801
- 19
- 20