Tag Archive for 'display'

Android Toast-like HUD for iOS

If you wish to easily report status of background processes to the user, on Android you may use Toast class, however iOS lacks of this great feature. But there is a great library, that provides even more features than Android version: MBProgressHUD.

Displaying route with iOS Maps application

To easily display a route between two locations with the built-in Maps app (iOS 4 is recommended for multitasking), insert the following code into your app:
NSString* url = [NSString stringWithFormat: @"http://maps.google.com/maps?saddr=Current\%20Location&daddr=%f,%f", destCoordinate.latitude, destCoordinate.longitude];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]];

Source: Stackoverflow.com