You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set WEPopoverContainerViewProperties.shadowColor to a solid color, it doesn't work as expected. This is because the -shadowView is empty and thus won't cast any shadow.
The solution is to manually provide a shadow path. You will have to adjust the path or the WEPopoverContainerViewProperties's background image or margins.
You can put this line inside [WEPopoverContainerView -initFrame] after the -shadowView frame is set:
....
_bgView.frame = _bgRect; // PROVIDED FOR CONTEXT
_shadowView.frame = _bgRect; // PROVIDED FOR CONTEXT
// set shadow path here when shadowView.frame is set.
// we need it since the shadowView is empty and won't cast any shadow.
_shadowView.layer.shadowPath = CGPathCreateWithRect(_shadowView.bounds, NULL);
....
The text was updated successfully, but these errors were encountered:
If you set WEPopoverContainerViewProperties.shadowColor to a solid color, it doesn't work as expected. This is because the -shadowView is empty and thus won't cast any shadow.
The solution is to manually provide a shadow path. You will have to adjust the path or the WEPopoverContainerViewProperties's background image or margins.
You can put this line inside [WEPopoverContainerView -initFrame] after the -shadowView frame is set:
The text was updated successfully, but these errors were encountered: