美文网首页
Unity和iOS交互

Unity和iOS交互

作者: aaa000 | 来源:发表于2022-02-12 17:41 被阅读0次

    extern "C" void PrivacyPolicy(){

    }

    extern "C" int GetNetState(){
    return 0;
    }

    extern "C" const char * GetVerName(){
    NSDictionary *infos = [[NSBundle mainBundle] infoDictionary];
    NSString *version = [infos objectForKey:@"CFBundleShortVersionString"];
    return strdup([version UTF8String]);;
    }

    相关文章

      网友评论

          本文标题:Unity和iOS交互

          本文链接:https://www.haomeiwen.com/subject/mcvdxrtx.html