Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任何人都知道如何重新创建 mapkit 在 showUserLocation 上使用的动画?您会使用一系列图像还是单个图像然后扩展和淡出?
我只是看着它,它看起来有点过于复杂,无法处理单个图像和某种 UIView 动画。我只是硬着头皮使用一组图像——总足迹不会太多。
不过,这是一部美丽的动画,不是吗?
不确定 Apple 是如何做到这一点的,但我知道他们使用 3 个不同大小的图像来制作光环动画。可能是因为将最大的图像缩放到小尺寸会导致伪影。