简体   繁体   English

如何制作用户可以滑动以切换视图的UI

[英]How do I make this kind of UI that user can swipe to switch view

Hi guys This is a beginner question, 大家好,这是一个初学者的问题,

I want to make this kind of UI 我想做这样的UI

  • user can swipe to switch view 用户可以滑动以切换视图

  • And each view have many customized icons which arranged like grids 每个视图都有许多自定义的图标,它们像网格一样排列

What the keywords can let me search for the find of information. 关键字可以让我搜索什么信息。

I used to use the gem promotion to develop apps. 我以前用的宝石promotion开发的应用程序。

Is it can be done in promotion, or there is any other gems to get it easier. 可以在促销中完成,还是有其他宝石可以使它变得更容易。

Thanks so much 非常感谢

There are a lot of ways to do that. 有很多方法可以做到这一点。 Adding a swipe gesture recognizer and display new views with animations. 添加滑动手势识别器并显示带有动画的新视图。 about the grid layout style, either use UICollectionView or layout the buttons yourself. 关于网格布局样式,可以使用UICollectionView或自己布局按钮。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使我的表视图控制器可滚动,以便用户可以从屏幕底部向上滑动它? - how can I make my table view controller scrollable, so the user can swipe it up from the bottom of the screen? 如何在视图控制器之间滑动? - How can I swipe between view controllers? 如何通过UI测试执行“向左滑动”操作 - How can I perform a “swipe left” action via UI tests 如何检测滑动以查看通知或控制面板 - How do I detect a swipe to view notifications or control panel 当用户未完全滑动以删除表格视图单元格时,如何禁用/启用编辑按钮? - How do i disable/enable edit button when user doesn't fully swipe to delete table view cell? SwiftUI 中的 WKWebView - 用户与网站交互时如何切换视图? - WKWebView in SwiftUI - How do I switch the view when user interacts with the website? 如何制作“卡片叠”类的UICollectionView? - How do I make a 'card stack' kind of UICollectionView? 如何通过用户交互或IOS中的代码来确定切换视图值是否已更改? - How can I decide if switch view value was changed by user interaction or by code in IOS? SWRevealViewController - 如何通过在 FrontViewController 上点击和/或滑动使菜单消失 - SWRevealViewController - How can I make the menu disappear with a tap and/or swipe on FrontViewController 如何在表格单元格上滑动并使其调用 function? - How can i swipe on a table cell and make it call a function?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM