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

can i set a custom view on the popview? #52

Closed
ghost opened this issue Nov 16, 2015 · 5 comments
Closed

can i set a custom view on the popview? #52

ghost opened this issue Nov 16, 2015 · 5 comments

Comments

@ghost
Copy link

ghost commented Nov 16, 2015

i want to know ,how can i set a custom view on the popview? only text avaliable?

@andreamazz
Copy link
Owner

Yeah, as of right now only text is available. Supporting a custom view should be rather easy though, I'll add this to the future releases.

@andreamazz
Copy link
Owner

Done, checkout commit da2e03b.
There's a new method to show a custom view:

- (void)showCustomView:(UIView *)customView direction:(AMPopTipDirection)direction inView:(UIView *)view fromFrame:(CGRect)frame duration:(NSTimeInterval)interval;

@ghost
Copy link
Author

ghost commented Dec 8, 2015

good! Thank you very much!

@OrchidVC
Copy link

Error display on sample:

  1. click show poptip custom view on top-left button
  2. click show poptip text on others button
    -> Image from custom view overlap to poptip text
    See attach file
    simulator screen shot dec 14 2015 10 36 07 am

@andreamazz
Copy link
Owner

It should be already fixed in the latest release.
See #56

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

No branches or pull requests

2 participants