#If ObjC
- (BOOL) checSquareInstalled {
if ([[UIApplication sharedApplication]
canOpenURL:[NSURL URLWithString:@"square://"]]) {
//canOpenURL:[NSURL URLWithString:@"square-commerce-v1://"]]) {
NSLog(@"square INSTALLED");
return true;
}
else
{
return false;
}
}
#End if