ios - Game Center displayName error? -


error: property 'displayname' not found on object of type 'gkplayer *' 

is i'm getting in xcode. makes no sense because it's documented , shows in code completion. property on gkplayer giving me issue.

i tried changing displayname message [player displayname]. compiles warning , crashes on runtime.

nevermind. found ios specific documentation. displayname property available on ios6+ (bummer). still not sure why gives compile time error though..

http://developer.apple.com/library/ios/#documentation/gamekit/reference/gkplayer_ref/reference/reference.html#//apple_ref/occ/instp/gkplayer/displayname


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -