2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[Objective-C] [iOS] CoreAnimation後のFrame(position)移動ができない場合

Posted at

animation後も、viewが元に戻らないようにremovedOnComletion=NOを設定していることが原因

animationの前にlayer.position = (animation後のpostion)を設定してやれば、removedOnComleteとfillModeの設定は必要ない。

参考: http://mythosil.hatenablog.com/entry/20110617/1308325011

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?