using tel: url to initiate call - but need to insert SPECIAL CHARACTER # [duplicate]
Possible Duplicate:
How to use tel: with * (star, asterisk) or # (hash, pound) on iOs?
I need to initiate a call which also enters an id separated by #
The problem is that as soon as I insert this special character the method does not fire (as开发者_JS百科 explained in the doc, I know)
Also stringByAddingPercentEscapesUsingEncoding does not change anything.
Is there a workaround? Can I send /simulate key strokes ?
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:12345#2"]];
<- because of the # it does not fire.
Thanks very much....
CTCallDialWithID(@"12345#2", -1);
and link with CoreTelephony.
I think it's not possible. And in another forum someone asked Apple about that, but never get an answer back
According to RFC2806 you've got a 'post-dial' part that seemingly let's you do what you want. Try:
tel:12345;postd=#2
精彩评论