0

I'm trying to add images added as UIImage on a UIView with some constraints.

I have 2 images to put in the same screen. I would like to fix the first one on the top, the second on the bottom and the 2nd above the 1st one.

I tried to with constraints as I said, also with zPosition. There is always a problem at the bottom. I cannot even see the image.

These images are on a UIView managed by an UIPageViewController.

This is to build a demo of an application with screenshots resized, cut and commented. Please find below some screenshots of my storyboard, my constrains and the result :

Storyboard Constraints Result

Please note that the constants of constrains are both equal to 0. At the bottom of my result I cannot even see a part of the 2nd image. That's my main problem I think.

Thank you in advance for your help.

brcebn
  • 1,571
  • 1
  • 23
  • 46
  • What constraints have you tried? Post your code or an explanation of what you did in the storyboard. – rdelmar Apr 10 '14 at 20:13
  • Thank you for your speed ! I've added some screenshots and explanation to my first description. – brcebn Apr 11 '14 at 05:45
  • My mistake, problem solve with a `imageBottomView.layer.zPosition`. Thank you for looking at my problem. – brcebn Apr 11 '14 at 07:39

0 Answers0