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.
有没有办法在 iOS 中创建类似于 Android 上的选项卡。也就是说,通过滑动在它们之间移动,就好像它们是彼此相邻的窗格?
麦克风
只需使用UIScrollViewwith pagingEnabled=YES。
UIScrollView
pagingEnabled=YES
请参阅 Apple 文档中演示这一切的PageControl示例代码。