iOS Question Phone Signal level

Discussion in 'iOS Questions' started by cooperlegend, Jun 28, 2015.

  1. cooperlegend

    cooperlegend Active Member Licensed User

    Hi,

    Is there a tool in B4i to measure the phone's 2G/3G/4G signal strength ?

    Ta
     
  2. imbault

    imbault Well-Known Member Licensed User

    According to searchs, it seems possible and easy in xCode, maybe someone has an idea to incorporate into b4i

    Code:
    int CTGetSignalStrength(); // private method (not in the header) of Core Telephony

    - (void)aScanMethod
    {
        NSLog(@
    "%d", CTGetSignalStrength()); // or do what you want
    }
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    If it is a private API then Apple will reject your app when you submit it to the app store.
     
  4. cooperlegend

    cooperlegend Active Member Licensed User

    Thanks, so what is the solution then, as I will need it to be accepted by Apple :)
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    As far as I know it is not possible.
     
Loading...