Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

close button action method not working crash when i click the button. #10

Open
nam6i opened this issue Jun 24, 2015 · 0 comments
Open

Comments

@nam6i
Copy link

nam6i commented Jun 24, 2015

I have used your code same as it but it crashed when i click the close button.
[closeBtn addTarget:self action:@selector(closePopupWindow) forControlEvents:UIControlEventTouchUpInside];

i didn't change the closePopupWindow method

-(void)closePopupWindow
{
//remove the shade
[[bigPanelView viewWithTag: kShadeViewTag] removeFromSuperview];
[self performSelector:@selector(closePopupWindowAnimate) withObject:nil afterDelay:0.1];

}

but it works when i call the function like
[self closePopupWindow];

error:
[__NSCFArray closePopupWindow]: unrecognized selector sent to instance llb

please give me the suggestions where i went wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant