UI 控制器就像 Apple 的 Book 应用程序中那样吗?
首先,我是 IOS 开发的新手!
我计划构建一个与 Apple 提供的 Book 应用 类似的应用程序。 我的问题是,该应用程序使用哪种 UI 控制器来在书架上显示书籍? 这是定制的吗?或者只是将几个 UIImageView 放置在 UIView 上?
提前致谢!
First of all I'm new to IOS Development!
I have a plan to build an app which should look similar to the Book app provided by Apple.
My question is, that what kind of UI Controller does that app use for displaying the books on a shelf?
Is that a custom one? Or just a couple of UIImageView's placed on a UIView?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是 Apple 创建的自定义视图,但使用背景图像和 UIScrollView 进行复制并不太困难,其中书籍根据间距计算放置
编辑:也许使用诸如 AQGridView 将帮助您调整书架上书籍的间距
It is a custom view created by Apple but it wouldn't be too difficult to replicate with a background image and a UIScrollView where the books are placed based on calculation on spacing
Edit: Maybe using a Library such as AQGridView would help you with the spacing of the books on the Shelf