I would like to show or hide the button that allows the user to make a phone call based on whether the user can actually make a call (iPhone or iPod touch). Is it possible to somehow determine if the phone application is available to the user in cocoa -touch? Or am I limited to detecting the type of device to make this difference? I would rather test the functionality than static clients in case for some reason something changes line by line (not that iPod touch users will never be able to make phone calls without ringing anyway, but the code will be cleaner )
source
share