Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSMutableURLRequest *urlReq = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@?lat=%@&lng=%@&mph=%@&dir=%@&dt=%@&udid=%@&username=%@&pw=%@¬es=%@", myManager.website, myManager.lat, myManager.lon, myManager.speed, urlsafe_direction, urlsafe_timestamp, myManager.udid, urlsafe_username, urlsafe_password, urlsafe_note]]];
- [[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:YES];
- [[[NSURLConnection alloc] initWithRequest:urlReq delegate:self startImmediately:YES] autorelease];
- [[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:NO];
Add Comment
Please, Sign In to add comment