Skip to content

Instantly share code, notes, and snippets.

@jaemyeong
Created October 23, 2016 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaemyeong/cce81fb952d0b2f21dc7f8969250dbe4 to your computer and use it in GitHub Desktop.
Save jaemyeong/cce81fb952d0b2f21dc7f8969250dbe4 to your computer and use it in GitHub Desktop.
CALayer 애니메이션 비활성화
CATransaction.begin()
CATransaction.setDisableActions(true)
let frame = CGRect(x: 0.0,
y: 0.0,
width: 300.0,
height: 300.0)
self.layer.frame = frame
CATransaction.commit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment