[b]测试UIScrollView以及分页显示[/b]
1.第一个view 里面放置一个简单的scrollView和imageView
2.测试scroll自由滚动
3.通过手动添加view到scroll里面的 然后设置滚动分页
4.通过添加页面元素3个view同时做为scroll的subview, 通过设置xy来设置并列
布局图
[img]http://dl.iteye.com/upload/attachment/0077/0303/ac79ac7e-4bde-3cda-bef0-5ce83ced2c7a.png[/img]
[img]http://dl.iteye.com/upload/attachment/0077/0305/cb7d2de9-ee71-3cab-9f9d-9332e93ff8fb.png[/img]
[img]http://dl.iteye.com/upload/attachment/0077/0307/00195425-c801-340d-860b-7ecbf4770877.png[/img]
效果图
[img]http://dl.iteye.com/upload/attachment/0077/0309/2f424d1a-b07a-32c7-8c91-cc24a457e422.png[/img]
[img]http://dl.iteye.com/upload/attachment/0077/0311/def78bf7-4745-3435-951a-b16175fca408.png[/img]
1.第一个view 里面放置一个简单的scrollView和imageView
2.测试scroll自由滚动
3.通过手动添加view到scroll里面的 然后设置滚动分页
4.通过添加页面元素3个view同时做为scroll的subview, 通过设置xy来设置并列
布局图
[img]http://dl.iteye.com/upload/attachment/0077/0303/ac79ac7e-4bde-3cda-bef0-5ce83ced2c7a.png[/img]
[img]http://dl.iteye.com/upload/attachment/0077/0305/cb7d2de9-ee71-3cab-9f9d-9332e93ff8fb.png[/img]
[img]http://dl.iteye.com/upload/attachment/0077/0307/00195425-c801-340d-860b-7ecbf4770877.png[/img]
效果图
[img]http://dl.iteye.com/upload/attachment/0077/0309/2f424d1a-b07a-32c7-8c91-cc24a457e422.png[/img]
[img]http://dl.iteye.com/upload/attachment/0077/0311/def78bf7-4745-3435-951a-b16175fca408.png[/img]