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

Image going out of frame while apply shadow #636

Open
ibhavin opened this issue Dec 16, 2020 · 0 comments
Open

Image going out of frame while apply shadow #636

ibhavin opened this issue Dec 16, 2020 · 0 comments

Comments

@ibhavin
Copy link

ibhavin commented Dec 16, 2020

I have a UIImageView to which I have applied cornerRadius, border, shadow, clipsToBound but image is going out of its frame(with aspectFill). I have also tried to add UIImageView in UIView but its not working.

Xcode: 12.2
IBAnimatable Version: 6.1.0
iOS Version: 14.2 (iPhone 12)

I have made a sample project for this please look into it:
IBAnimatable_Test.zip

Here is a screenshot:
Simulator Screen Shot - iPhone 12 - 2020-12-16 at 09 35 39

@ibhavin ibhavin changed the title Shadow with clips to bound not working Image going out of frame while apply shadow Dec 23, 2020
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