IKSlideshow的IKSlideshowModeQuickLook模式消失了吗?
在类 IKSlideshow
中,有一个名为 –runSlideshowWithDataSource:inMode:options:
的方法,
对于参数 slideshowMode
,文档说:
指示幻灯片中的项目类型的常量 -
IKSlideshowModeImages
、IKSlideshowModePDF
或IKSlideshowModeQuickLook
。请参阅“幻灯片模式”。
点击链接后,IKSlideshowModeQuickLook
模式似乎消失了。只有三种模式(IKSlideshowModeImages、IKSlideshowModePDF、IKSlideshowModeOther)。
这个常数现在似乎没有定义。 至少,它不在:
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/Headers/IKImageBrowserView.h /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/Headers/IKImageBrowserView.h /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/Headers/IKImageBrowserView.h
我是否缺少要导入的标头,或者此模式消失了?
In the class IKSlideshow
, there is a method named –runSlideshowWithDataSource:inMode:options:
For the argument slideshowMode
, The documentation says:
A constant that indicate what kind of items are in the slideshow —
IKSlideshowModeImages
,IKSlideshowModePDF
, orIKSlideshowModeQuickLook
. See “Slideshow Modes”.
Following the link, the mode IKSlideshowModeQuickLook
seems to be gone. There is only three modes (IKSlideshowModeImages, IKSlideshowModePDF, IKSlideshowModeOther).
This constant seems to be defined nowhere now.
At least, it's not in:
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/Headers/IKImageBrowserView.h
/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/Headers/IKImageBrowserView.h
/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/Headers/IKImageBrowserView.h
Am I missing a header to import, or is this mode gone?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我使用
IKImageBrowserView
视图时,我所需要做的就是实现以下方法,并要求 QLPreviewPanel 出现在前面:我假设 IKSlideshowModeQuickLook 模式已消失,并且文档遗漏了这一事件。如果您发现其他情况,请告诉我。
As I was using a
IKImageBrowserView
view, all I needed to do was to implement the following method, and ask for QLPreviewPanel to come front:I assume that the IKSlideshowModeQuickLook mode is gone, and that the updater of the documentation missed this occurrence. Let me know if you find otherwise.