ReactNative js判断android还是ios

来源:互联网 发布:淘宝上开网店要钱吗 编辑:程序博客网 时间:2024/05/21 12:47
var Platform = require('Platform');if (Platform.OS === 'android') {//todo}else{//todo}

2 0
原创粉丝点击