how to set image as background programmatically,iphone - iphone

HI all,
how to set an image as a wallpaper, programmatically, in iphone?
Suggestions are always appreciated.
regards

If you're talking about changing the phone's wallpaper, that's not possible programmatically.

i think i got the answer here
http://tiptopobjectivec.blogspot.com/2010/06/change-wallpaper-programatically.html
setting wallpaper progrmmatically, is undocumented API. so cant use.

Related

Can I use QLThumbnailImageCreate on iOS?

The QuickLook/QLThumbnailImage.h cannot be found, even I added Quicklook.framework.
If it can be used Only on cocoa, what's the similar api on iOS to get a file's thumbnail, not icon?
Thanks.
Unfortunately, thumbnails are a DIY affair.
Fortunately though, there are a LOT of examples/tutorials on how to do it.
Start at the top and work your way down.

How do I set the background image of a UISegmentedControl

I have a view with a segmentedcontrol in it and I would like to set the background image of that control. I know that I can change set the tint color, but I want more control over it than that. So if I could set a background image that would be cool.
I found this tutorial on how to achieve this, however it's outdated, and I'm unable to get it working.
Could anyone please help me? I greatly appreciate any help.
UPDATE
Half the solution has been found, if the only thing one needs to support is iOS5 you can use setBackgroundImage:forState:barMetrics:. A great tutorial on the matter can be found here.
How about this?: setBackgroundImage:forState:barMetrics:
Straight from the docs
Note: Available in iOS 5.0 and later.

iphone: scale when using glgif library

I am using glgif to display some gif picture on iphone, the gif is be downloaded from web. I display it on iphone successfully but the picture seems wrong scale. It happened to many pictures. Can anyone suggest me to fix this? I dig in to glgif but can not find a way to fix.
Thank you very much.
Uncomment [self setAspectScale:YES]; inside -(void)startAnimation:(Video*)video;

how to rename the images taken from camera through our app?

I want to know how the iphone take the picture from camera through xcode?
and how it is stored ?,How to rename it? And how to delete it after our work completion?
please tell me the details about the UIPickerView also...
Thank You,
anand
You can use UIImagePickerController to take picture from camera. You can refer
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html
You can get an UIImage from the imagepicker which u can use according to your needs
#Anand for your camera issue take help from the 7KV7 suggest link that is the best one from the apples developer document
Take image from camera and then do it what you want to do with that image.
As far as UIPickerView is concerned refer UIPickerView and also have a look at iPhone SDK Tutorial
For pickerview you have to call different delegate methods and those methods are mentioned in the tutorial i had shared you above.

iPhone settings screen

I want to design a screen like settings screen. Like in grouped uitableview I want to place the controls.
Can any one please provide me any application sample or code ?
Thanks in advance.
Regards,
Malleswar
The open source InAppSettingsKit will let you do this easily.
Take a look at Apple's TableViewSuite and their other sample projects.