objective c - Setting the background image of iPhone from an app -


i wondering if possible set iphone's background image app. have image uiimageview. when phone locked theres "wallpaper background image." there way make button can set wallpaper of phone uiimageview?

in background view (you might have drag iboutlet it) like:

imageview.bounds = view.bounds; imageview.hidden = yes; [view addsubview:imageview]; 

then when button pressed (possibly ibaction) turn background on , off.

if (imageview.hidden){    imageview.hidden = no; }else{    imageview.hidden = yes; } 

Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -