Is there a way I can turn personal hotspot on using objective-c? I need to connect to a printer and I don’t want the user to go to the settings and then turn it on, rather I want to turn it on in code, print, then turn it back off.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sorry, there is no way to do that in the published APIs.
You may want to file an enhancement request at http://bugreport.apple.com/
However, I suspect that your use case is sufficiently esoteric that only a few people will be affected. I mean, you have a wifi-enabled printer but no wifi network? That is probably rare for consumers (but common in businesses).
And in the case of businesses, I don’t think that they would let their wifi printers connect to any random hotspot that just happens to show up…