Game Centre cancel button

Just a quick question on Game Centre.

Can you tell if the ‘Cancel’ button is pressed on the Game Centre login screen? [import]uid: 62706 topic_id: 34324 reply_id: 334324[/import]

According to the docs, when you call gamenetwork with the init callback function, you will get an event and if the login was successful, event.data will be true other wise false. I’m speculating here, but that’s probably the test for the cancel button.

[import]uid: 199310 topic_id: 34324 reply_id: 136461[/import]

Yeah, I wasn’t sure if that callback was for the cancel button and also if game centre fails to load due to no network. I’ll do some testing :slight_smile: [import]uid: 62706 topic_id: 34324 reply_id: 136512[/import]

I’m assuming it will return false on both network connectivity as well as cancelling.
[import]uid: 199310 topic_id: 34324 reply_id: 136519[/import]

According to the docs, when you call gamenetwork with the init callback function, you will get an event and if the login was successful, event.data will be true other wise false. I’m speculating here, but that’s probably the test for the cancel button.

[import]uid: 199310 topic_id: 34324 reply_id: 136461[/import]

Yeah, I wasn’t sure if that callback was for the cancel button and also if game centre fails to load due to no network. I’ll do some testing :slight_smile: [import]uid: 62706 topic_id: 34324 reply_id: 136512[/import]

I’m assuming it will return false on both network connectivity as well as cancelling.
[import]uid: 199310 topic_id: 34324 reply_id: 136519[/import]