In my application I am showing business card as detail of showroom. In that detail I have given phone call option to user.
From iPhone we can call to respective number by giving code as follows..
NSString* call = [NSString stringWithFormat:@"tel:%@",phone_number];
NSURL* url = [[NSURL alloc] initWithString:[call stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
[[UIApplication sharedApplication] openURL:url];
But from iPod I think we can not give phone call to respective number.
Now I want to launch application for iPhone and iPod but if I set Required device capabilities as "telephony" then App will not work on iPod. If I do not mention Required device capabilities as telephony and submit app as it is, will it be OK for Apple review process? This will lead to have Phone call button on iPod with no function.
My question is how to disable phone call button and change text programmatically if user will install app on iPod?