iOS9: canOpenURL returning false for WhatApp's url scheme

后端 未结 4 1855
一个人的身影
一个人的身影 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:57

    In addition to @z22's answer if you need to add it textually (e.g. with Xamarin) then it looks like this:

        
            ... 
    
            LSApplicationQueriesSchemes
            
                whatsapp
            
        
    

提交回复
热议问题