0

I have requirement to apply border on views.

Views might have collection view or single image or textview. Now the problem is I want to apply border of those view. As I have used top, leading and width and height constraint and updating as border slider change the value but it behaves weird.

I have below view when app is loaded. Image when loaded first time

After applying constraint updates from loop, the views looks like This after constraints update

I am trying since 6 hours but the way of updating constrains to apply border not working so can any one suggest good approach to apply border without updating constraint of views?

rmaddy
  • 298,130
  • 40
  • 468
  • 517
Manish
  • 351
  • 4
  • 19

0 Answers0