帖子
帖子
用户
博客
课程
显示全部楼层
6
帖子
1
勋章
3376
Y币

记录api.call的开发过程中在iOS上无法使用的问题

[复制链接]
发表于 2024-1-24 14:45:45
开始的写法是
phoneCall(areacode, mobile) {            
            api.call({
                type: 'tel_prompt',
                number: areacode + mobile
            });

        }
此时在安卓手机上可以正常拨打电弧,但是在苹果手机上点击拨打电话没有反应,最后尝试后改成了

phoneCall(areacode, mobile) {
            api.call({
                type: 'tel_prompt',
                number: areacode + "-" + mobile
            });
        },后安卓和苹果均可正常拨打电话




您需要登录后才可以回帖 登录

本版积分规则