Posts

Showing posts with the label UIActivityIndicatorView

UIActivityIndicatorView

-(BOOL)StartActivityIndicator {     if ([[self checkNetworkConnectivity] isEqualToString:@"NoAccess"]) {                 UIAlertView *ServerMssg = [[UIAlertView alloc]initWithTitle:@"Message" message:@"Unable to connect server" delegate:self cancelButtonTitle:@"Ok" otherButtonTitles:nil,nil];         [ServerMssg show];         [ServerMssg release];         return NO;     }     else     {         [NSThread detachNewThreadSelector: @selector(StartActivity) toTarget:self withObject:nil];         return YES;     }         } -(void)StartActivity {     //NSLog(@"Start");        //self.networkingCount += 1; ...