You are on page 1of 1

void *libHandle = dlopen("/System/Library/Frameworks/CoreTelephony.

framework/Cor eTelephony", RTLD_LAZY); int (*CTGetSignalStrength)(); CTGetSignalStrength = dlsym(libHandle, "CTGetSignalStrength"); if( CTGetSignalStrength == NULL) NSLog(@"Could not find CTGetSignalStrength"); int result = CTGetSignalStrength(); dlclose(libHandle);

You might also like