IKImageBrowserView 和 ImageTitle

发布于 2024-09-25 21:42:45 字数 111 浏览 1 评论 0原文

我有一个 imagebrowserview 正确显示一个装满照片的文件夹,但它没有显示每张照片的图像标题...

是否有教程向我展示这是如何工作的?

问候

AGW

I have a imagebrowserview displaying a folder full of photo correctly but its not showing the image title of each of the photo ...

is there a tutorial to show me how this works?

Regards

AGW

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

戏蝶舞 2024-10-02 21:42:45

即使您提供数据,默认情况下也不会显示标题。您需要通过在 IKImageBrowserView 对象上调用 setCellsStyleMask 来打开它们。

[imageBrowserView setCellsStyleMask:IKCellsStyleTitled];

Titles are not displayed by default, even if you provide the data. You need to turn them on by calling setCellsStyleMask on the IKImageBrowserView object.

[imageBrowserView setCellsStyleMask:IKCellsStyleTitled];
夏见 2024-10-02 21:42:45

您的 IKImageBrowserItem 项目只需要提供标题和/或副标题。请查看 Apple 示例代码“ImageKitDemo”作为示例。

Your IKImageBrowserItem items simply need to supply a title and/or subtitle. Take a look at the Apple sample code "ImageKitDemo" for an example.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文