FSOpenInWhatsApp 2.1

FSOpenInWhatsApp 2.1

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

Maintained by Felix Schulze.


Downloads

Total47,481
Week0
Month0

Installs

Apps39
Test Targets7
powered by Segment

GitHub

Stars3
Watchers1
Forks1
Issues0
Contributors1
Pull Requests0

Code

Files2
LOCLines of Code 45


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.