Turning personal hotspot on?

前端 未结 1 2030
忘了有多久
忘了有多久 2021-01-24 05:19

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 wa

1条回答
  •  无人及你
    2021-01-24 06:09

    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...

    0 讨论(0)
提交回复
热议问题