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.
我想知道如何在 UINavigationBar 上完成这样的事情。这是钱包应用程序中卡片的详细视图。
根据文档,我看不到如何向导航栏添加额外的视图来完成这种设计。
我看不到如何向导航栏添加额外的视图来完成这种设计。
你不能。
在该屏幕截图中,导航栏是空的,除了后退按钮 V 形。卡片图像在视图控制器的视图中。这就是为什么当你向上滚动时它会向上移动。如果您在向上滚动时仔细查看,您甚至可以看到导航栏后面经过的卡片图像。