我尝试使用NSHost,但XCode无法识别它 [英] I tried to use NSHost and XCode didn't recognize it

查看:123
本文介绍了我尝试使用NSHost,但XCode无法识别它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图添加NSHost方法,但XCode无法识别它.

I tried to add an NSHost method and XCode didn't recognize it.

你知道为什么会这样吗?

Do you know why this happened?

推荐答案

您的问题已用iPhone标记; NSHost在iPhone上不可用. NSHost仅适用于Mac OSX.

Your question is tagged with iPhone; NSHost is not available on the iPhone. NSHost is Mac OS X only.

以下是使用NSHost的替代解决方案: iPhone应用中NSHost的替代

Here is an alternative solution to using NSHost: Alternatives to NSHost in iPhone app

这篇关于我尝试使用NSHost,但XCode无法识别它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆