I have a full screen ImageView (margins constraints) with an Image in "Aspect Fit Mode" and I need to have a button to be over a specific part of that image on all devices.
I have tried to put constraints in different ways, but without any good result.
I hope someone could help me.
Here you can find a screenshot of what I want:

The yellow block is the button and I want it to be over the shoulder for any screen size.
This is iOS 8.
Try proportional Constraints. Add the following 4 constraints to your button (values are not exact)
Apple recommend using proportional constraints. Try to change the percent values slightly to fit the button on shoulder. Once you fit the button on shoulder with these constraints It will look fine on all device . Thanks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With