YosiFZ
YosiFZ

Reputation: 7890

I tried to use NSHost and XCode didn't recognize it

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

Do you know why this happened?

Upvotes: 0

Views: 4550

Answers (3)

saadnib
saadnib

Reputation: 11145

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

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

Upvotes: 2

Lukman
Lukman

Reputation: 19119

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

Upvotes: 0

Black Frog
Black Frog

Reputation: 11703

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

Upvotes: 2

Related Questions