tel: url scheme showing as action sheet in ios 13?

我怕爱的太早我们不能终老 提交于 2021-01-29 12:10:40

问题


How to show tel url scheme as alert in ios 13

I want make a call from app so i am using te url scheme it is presenting as alert below ios 13 but from ios 13 it is displaying as action sheet

[[UIApplication sharedApplication] 
                    openURL:[NSURL URLWithString:@"tel:%@",number]];

Any suggestions ?


回答1:


Yes from iOS13 its showing as action sheet . you observe in other applications which are making call are showing as action sheet only .



来源:https://stackoverflow.com/questions/58430053/tel-url-scheme-showing-as-action-sheet-in-ios-13

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!