uiimagepickercontroller - iphone: show UIImagePicker in UIview -


i have situation here please me in this, can show imagepicker in view insted of presenting them in modalview

i tried code doesnt work

uiimagepickercontroller *picker=[[uiimagepickercontroller alloc] init]; picker.delegate=self;  picker.sourcetype=uiimagepickercontrollersourcetypesavedphotosalbum; //[self presentmodalviewcontroller:picker animated:yes]; [imagepickerview addsubview:picker.view]; 

please shed light on thanx in advance

the uiimagepickercontroller needs shown modal, think.. uncomment line.

http://developer.apple.com/library/ios/#documentation/uikit/reference/uiimagepickercontroller_class/uiimagepickercontroller/uiimagepickercontroller.html


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -