/FSOpenInGmail

Tool for sending mails with Gmail iOS App.

Primary LanguageObjective-CMIT LicenseMIT

FSOpenInGmail Build Status Cocoa Pod Cocoa Pod License

FSOpenInGmail is a tool for sending mails with Gmail iOS App.

Install

Using CocoaPods:

pod 'FSOpenInGmail', '~> 1.1'

iOS 9

For iOS 9 you have to add the following to your Info.plist:

<key>LSApplicationQueriesSchemes</key>
<array>
  <string>googlegmail</string>
</array>

Usage

Check if Gmail app is installed:

if ([FSOpenInGmail canSendGmail]) {
	//Gmail app is installed
}

Open Gmail app composer:

[FSOpenInGmail sendEmailTo:@"test@example.com" subject:@"Some subject" body:@"Some body"];

System support

iOS 6.0+ is currently supported.

License

FSOpenInGmail is available under the MIT license. See the LICENSE file for more info.