UIView-Borders-Swift icon indicating copy to clipboard operation
UIView-Borders-Swift copied to clipboard

Fails on rotations

Open vihanb opened this issue 7 years ago • 3 comments

Currently, if the screen is rotated/auto-oriented, this will throw off the borders, and they won't be the correct size anymore.

vihanb avatar Mar 26 '17 22:03 vihanb

I noticed the issue too, and it is easily demonstrated using the CALayer backed borders and resizing the target UIView.

It appears UIView backed borders work fine for rotations or resizing.

robcecil avatar Aug 23 '17 18:08 robcecil

@aaronn is there a simple technique to move/recreate CALayer-backed borders?

robcecil avatar Aug 23 '17 18:08 robcecil

Not as far as I know.

aaronn avatar Aug 23 '17 18:08 aaronn