I am trying to place a circular imageview on top of another imageview something like in the picture.Does anyone know how i can achieve it.
2 answers
solution1
2 ACCPTED 2019-01-09 06:25:18
In storyboard, you can do it by setting circular image align bottom to image view with half size of your circular image.In my case circular image's height is 100 so, it's half is 50. Please see following image for detail.
Hope this help!
solution2
2 2019-01-09 06:26:51
you should give center vertical constraint and then open constraint property and change first item or second item (as per your requirement) center y to top option Like
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.