问题
in Iphone,How to directly make a phone call with private API CTCallDial()? Mainly because I don't know the specific parameters of CTCallDial.
回答1:
1) Link against CoreTelephony.framework
2) Define like
extern "C" id CTCallDial(NSString * number);
and use like:
CTCallDial(@"0123456789");
(returns the CTCallRef created, can be safely casted to id (CTCall *))
来源:https://stackoverflow.com/questions/10207042/how-to-directly-make-a-phone-call-with-private-api-ctcalldial