objective c - taking a picture in iOS app -


i cannot seem right. ive looked @ several tutorials no luck. realize simple task, why confused on why isnt working me. have programmatically made button inside expanding cell , when press it, suppose access camera take picture. have code:

- (void)buttonpressed:(uibutton *)button {     uiimagepickercontroller *picker = [[uiimagepickercontroller alloc] init];     picker.sourcetype = uiimagepickercontrollersourcetypecamera;     [picker setdelegate:self];     //picker.allowsimageediting = no;     [self presentmodalexpandingcell:picker animated:yes];      picker.showscameracontrols = yes; } 

the error appears in line 5. , says "no visible @interface 'expandingcell' declares selector 'presentmodalexpandingcell:animated:'" have "" in .h file have no idea do. appreciated. in advance.

have declared method "presentmodalexpandingcell" in class? because, if not, why compiler throwing error.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -