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

Python __call__ special method practical example -

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -