石英显示服务替代已弃用的功能?
Quartz 显示服务参考手册列出了几个已弃用的函数(例如CGDisplayCurrentMode
),但没有提及替换函数是什么。
我应该使用什么来查找有关当前视频模式的信息?
有没有办法查到这类信息呢?苹果开发者网站上的参考手册似乎很难浏览。
The Quartz display services reference manual lists several functions as deprecated, (for example CGDisplayCurrentMode
), but doesn't mention what the replacement function is.
What should I be using to find information about the current video mode?
Is there a way to find out this kind of information? The reference manual on the apple developer site seems very hard to navigate.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为 CGDisplayCopyDisplayMode() 看起来像是替代品。这是 10.6 中的新内容。
http://developer.apple.com/mac/library/documentation/Carbon/Reference/ApplicationServicesRefUpdate/Articles/ApplicationServices_10.5-10.6_SymbolChanges.html#//apple_ref/doc/uid/TP40009185- SW41
I think CGDisplayCopyDisplayMode() looks like the replacement. It is new in 10.6.
http://developer.apple.com/mac/library/documentation/Carbon/Reference/ApplicationServicesRefUpdate/Articles/ApplicationServices_10.5-10.6_SymbolChanges.html#//apple_ref/doc/uid/TP40009185-SW41