Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

Need help ios native share

$
0
0
I would like to share game link on ios using ios native share function. I do not want to share any image with it. I only require to share text. #if UNITY_IOS public struct SocialSharingStruct { public string text; } [DllImport ("__Internal")] private static extern void showSocialSharing(ref SocialSharingStruct conf); public static void CallSocialShareAdvanced(string defaultTxt) { SocialSharingStruct conf = new SocialSharingStruct(); conf.text = defaultTxt; showSocialSharing(ref conf); } #endif Do I need any other code than this?

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>