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.
我正在尝试创建一个 UIScrollView (水平),用户可以在此照片中左右滑动图像(http://i.stack.imgur.com/GvtOr.jpg),点击照片会触发一个事件。
我只需要关于如何以编程方式构建它的一般建议,我将不胜感激。
利用
[Scroller setContentSize:CGSizeMake(Scroller.frame.size.width*4,Scroller.frame.size.height)];