FSOpenInWhatsApp 2.1

FSOpenInWhatsApp 2.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Oct 2015

Maintained by Felix Schulze.



FSOpenInWhatsApp is a tool for sending messages with WhatsApp iOS App.

Install

Using CocoaPods:

pod 'FSOpenInWhatsApp', '~> 2.1'

iOS 9

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

<key>LSApplicationQueriesSchemes</key>
<array>
  <string>whatsapp</string>
</array>

Usage

Check if WhatsApp app is installed:

if ([FSOpenInWhatsApp canSendWhatsApp]) {
    //WhatsApp app is installed
}

Open WhatsApp app composer:

[FSOpenInWhatsApp sendText:@"Nice app"];

System support

iOS 7.0+ is currently supported. If you need to support iOS 6.0 you could use pod 'FSOpenInWhatsApp', '1.2'

License

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