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.
我在中间有一张大图,在左右两边有两张图。当用户滚动时,如何做右边的图像来到中心......?
在委托方法中:
scrollViewDidScroll:
添加代码虱子:
self.rightImage.center = CGPointMake(self.imageCenter.center.x, self.imageCenter.center.y);