iOS9: canOpenURL returning false for WhatApp's url scheme

后端 未结 4 1809
一个人的身影
一个人的身影 2020-12-31 08:39

In my current project I need to share text on whatsapp from iOS app.

Here is my code to share text on whatsapp:

NSURL *whatsappURL = [NSURL URLWithSt         


        
4条回答
  •  囚心锁ツ
    2020-12-31 08:48

    Step:1 Add LSApplicationQueriesSchemes in Info.plist

    Step:2 Add whatsapp in items

提交回复
热议问题