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

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -