Game Development Reference
In-Depth Information
7. Sometimes, due to a weak network, the connection can be lost and the screen gets
stuck, thereby showing no message to the user. Thus, we will add an alert, saying
that there is a network problem, and to play, restart your app on both the devices,
as shown in the following method:
- (void)showNetworkDisconnectAlertView
{
UIAlertView* alertView = [[UIAlertView alloc]
Search WWH ::




Custom Search