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 / UIPageControl .xib 在 12 个图像之间滚动。.xib 的底部是一个“提交”按钮,可以将滚动视图的值保存在 Web 服务中。
如何获得“提交”按钮来获取该值?
提前致谢!
UIScrollView 具有三个属性:contentOffset、contentInset 和 contentSize,它们定义了用户的滚动状态。
特别是偏移量很可能是您发送到 Web 服务的内容。