Try the search, it's linked to some great forums

Saturday, June 4, 2011

Simple check for a device feature (email in this case)

canSendMail is a class method (+) so therefore can be called on the class itself;

        if ([mailClass canSendMail])
        {
            [self displayComposerSheet];
        } else {
            [self launchMailAppOnDevice];
        }