Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi Everyone,

I've been developing for the iPhone lately and I was wondering if anyone could tell me how I could change the text 'Carrier' in the StatusBar.

I've been looking into the CoreTelephony Framework, and tried the following code:

C++
CTTelephonyNetworkInfo *myNetworkInfo = [[CTTelephonyNetworkInfo alloc] init];
CTCarrier *myCarrier = [myNetworkInfo subscriberCellularProvider];

myCarrier.carrierName = @"Test";

// OR

[myCarrier carrierName] = @"Test";


However, none of the above apply since the code results in saying that 'carrierName' is readonly.

Anyone who could explain to me how I could set this 'Carrier' to something custom??

Kind Regards,
Lars
Posted
Updated 30-Mar-12 4:39am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900