سؤال

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

Do you know why this happened?

هل كانت مفيدة؟

المحلول

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

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

نصائح أخرى

NSHost is not supported for iPhone. Read apple's technical note

http://developer.apple.com/library/ios/#qa/qa1652/_index.html

iPhone SDK does not support NSHost. But you can use this alternative Objective-C custom class instead.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top