选项卡栏控制器中所有选项卡的通用集合视图
在我的应用程序中,我使用选项卡栏控制器在不同视图之间切换,并且在每个视图上都有一个水平集合视图。任何人都可以解释如何对所有选项卡使用通用集合视图,以便选项卡栏控制器中的每个选项卡都使用相同的水平集合视图。我已经尝试通过将集合视图添加到选项卡栏控制器故事板,但它不起作用。是否有任何以编程方式或非编程方式的方法?
In my app, I am using a Tab Bar controller to switch between different views and on each view I have a horizontal collection view.Can anyone explain how to use a common collection view for all tabs so that every tabs in the tab bar controller uses the same horizontal collection view.I've tried it by adding collection view to the tab bar controller storyboard but it didn't work.Is there any way programmatically or non programmatically?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论