Wifi strength in iPhone app

后端 未结 3 1287
清酒与你
清酒与你 2021-01-14 06:30

Does anyone have some code I can use in an iPhone app that will let me see strength of wifi? I have a connection intensive operation and prefer they aren\'t in a spotty zone

3条回答
  •  心在旅途
    2021-01-14 06:45

    I doubt this is possible.

    iOS and its SDK isolate applications from doing (and querying) most system-level things. What you could do is to use [NSData dataWithContentsFromURL:...] to do one or two HTTP requests to ensure that the connection is stable and then do the main data transfers.

提交回复
热议问题