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

when I press button a little quick, e.g. double click, then #45

Open
Zniel opened this issue Aug 22, 2014 · 0 comments
Open

when I press button a little quick, e.g. double click, then #45

Zniel opened this issue Aug 22, 2014 · 0 comments

Comments

@Zniel
Copy link

Zniel commented Aug 22, 2014

when I press button a little quick, e.g. double click……
then the popover may overlay and can not dismiss.

after all, I use some flag to avoid this happen.
-(void)structTypeBtnClick:(UIButton*)sender{
_typeBtn = sender;
if (_typeBtn.selected) {
return;
}

[PopoverView showPopoverAtPoint:CGPointMake(530, 960) inView:self.view withContentView:_switchControl delegate:self];
_typeBtn.selected=YES;

}

but, There must be a better way to resolve this issue.

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