Vote count:
0
I have a function uploadScore() inside my viewController Class PlayViewController
When I call this function uploadScore() from within applicationWillResignActive(application: UIApplication) it throws error Use of unresolved Identifier 'uploadScore'
uploadScore() has references to objects in PlayViewController.
What am I doing wrong? What would be the best solution? Code is in swift.
asked 1 min ago
Calling a function from within applicationwillresignactive
Aucun commentaire:
Enregistrer un commentaire