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

Action Buttons and arrow not visible. #10

Open
xor22h opened this issue Nov 20, 2017 · 1 comment
Open

Action Buttons and arrow not visible. #10

xor22h opened this issue Nov 20, 2017 · 1 comment

Comments

@xor22h
Copy link

xor22h commented Nov 20, 2017

After compiling latest library 1.0.3 with latest xcode and do not longer see action buttons and arrow.

Tried to use xcode layout debugger and it responds that backgroundContentView size is 0,0 at position 0,0;
screen shot 2017-11-20 at 10 51 03 pm

@xor22h
Copy link
Author

xor22h commented Nov 21, 2017

More findings:

(lldb) po backgroundContentView.subviews
<__NSArrayM 0x60400045da30>(
<STPopupPreviewArrowView: 0x7f98dabc1f00; frame = (165.5 94; 44 20); opaque = NO; animations = { opacity=<CASpringAnimation: 0x60800043f000>; }; layer = <CALayer: 0x608000622fc0>>,
<STPopupPreviewActionSheet: 0x7f98daba4ed0; frame = (0 0; 0 0); layer = <CALayer: 0x60800023b420>>
)

(lldb) po ((UIVisualEffectView*)_popupController.backgroundView).contentView.subviews
<__NSArray0 0x60400000c0e0>(

)

Changing backgroundContentView with ((UIVisualEffectView*)_popupController.backgroundView).contentView on two lines in STPopupPreviewRecognizer.m file solves a problem;

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