ok... I put a background image on my app, sort of like wallpaper. It's pretty easy to do, I start with a UIImageView, set the background image, add some labels and buttons, then copy it to self.view. My view is created programmatically... IB wouldn't do what I wanted so the view creation activity occurs in the loadView method in my mainViewController.
Now, I want to change the background image only, not the labels, not the buttons BUT since self.view is evidently not a UIImageView, one cannot set the background image.
I tried a mutable copy of self.view to a "new" UIImageView, that blows up at the mutable copy.
I can do it via subviews but that seems like a longer way around since I get to create my buttons and labels for each different wallpaper.
I haven't been able to locate much on "self.view" in the documentation, it started showing up in examples and obviously belongs to the view controller but what is it and where did it inherit from?
Suggestions are highly appreciated!
Now, I want to change the background image only, not the labels, not the buttons BUT since self.view is evidently not a UIImageView, one cannot set the background image.
I tried a mutable copy of self.view to a "new" UIImageView, that blows up at the mutable copy.
I can do it via subviews but that seems like a longer way around since I get to create my buttons and labels for each different wallpaper.
I haven't been able to locate much on "self.view" in the documentation, it started showing up in examples and obviously belongs to the view controller but what is it and where did it inherit from?
Suggestions are highly appreciated!