0

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?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Burning Hippo
  • 787
  • 1
  • 20
  • 47

1 Answers1

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