Is there any ways to detect the roaming status on iOS 6?

后端 未结 2 1116
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-31 06:27

My application using below methods to detect roamming in iOS 4 and 5.

NSString *carrierPListSymLinkPath = @\"/var/mobile/Library/Preferences/com.apple.carri         


        
2条回答
  •  说谎
    说谎 (楼主)
    2020-12-31 07:08

    Facing the same problem here since iOS6 beta 1, since that version /var/mobile/Library/Preferences/com.apple.operator.plist sym-link is no more reversable.

    No other device-only way are public now, in the meanwhile the unique solution is to check for the ip via geo-ip, as Trausti Thor said, or checking for the ip class if you are developing an app for a single carrier.

提交回复
热议问题