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

popup from uibarbuttonitem #27

Closed
last-Programmer opened this issue Dec 26, 2012 · 3 comments
Closed

popup from uibarbuttonitem #27

last-Programmer opened this issue Dec 26, 2012 · 3 comments

Comments

@last-Programmer
Copy link

Hi,

Is it possible to popoverfrom uibarbuttonitem?

and also presentPopoverfrompoint is always presents the popup at 0,0....

any suggestion how to fix it?

@staegi
Copy link

staegi commented Dec 26, 2012

There is already an issue for the problem with presentPopoverfrompoint. See #11

You can use UIBarButtonItem by doing this: [sender valueForKey:@"view"]

@last-Programmer
Copy link
Author

okey....i will wait for the issue to be resolved

You can use UIBarButtonItem by doing this: [sender valueForKey:@"view"]
can we use this....is it not a private api? is it safe to use?
thanks

@alvises
Copy link
Owner

alvises commented Feb 23, 2013

Hi,

is the best and clean way to use it from a UIBarButtonItem. I'm using [sender valueForKey:@"view"] on my projects as well and by know Apple didn't complain!

A.

@alvises alvises closed this as completed Feb 23, 2013
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

3 participants