zsisme
ios核心动画高级技巧

Updated 3 years ago

xianbei (@hangqiang321) started discussion #211

2 years ago · 0 comments

Open

    更好的方案是使用anchorPoint属性,我们来在-viewDidLoad方法中添加几行代码来给每个钟指针的anchorPoint做一些平移(清单3.2),图3.7显示了正确的结果。

锚点 (Edit this file)

实现代码有遗漏,修改完描点后还需要修改position,不然图片有偏移

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant