I have OpenFeint integrated, compiling and launching when my app launches. Following the OF website instructions of:
- Add a leaderboard to your application from the Developer Portal.
- Note the Unique Identifier of your new leaderboard.
In your application, submit the player’s score like this
[OFHighScoreService setHighScore: scoreGoesHere forLeaderboard:@"leaderboard_id_string" onSuccess:OFDelegate() onFailure:OFDelegate()];
When I call this:
[OFHighScoreService setHighScore:scores forLeaderboard:@"112033" onSuccess:OFDelegate() onFailure:OFDelegate()];
I get an error: 'OFHighScoreService' was not declared in this scope. I'm not sure what to do - I tried importing OFHighScore.h but that didn't work. Do I need to add a highscore delegate?