Created
September 18, 2014 09:05
-
-
Save sivabudh/c477f0bdc4c45626a256 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)openOneMinTimesheet | |
{ | |
NSString *customURL = @"OneMinTimesheet://"; | |
if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:customURL]]) | |
{ | |
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:customURL]]; | |
} | |
else | |
{ | |
NSString *installURL = @"http://appstore.g-able.com/timesheet/"; | |
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:installURL]]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment