Is there a way to get information about the carrier of iPhones programmatically?
While developing in Swift 3.0, You just need to import CoreTelephony in you link binary with libraries in Build phases.
// Setup the Network Info and create a CTCarrier object
let networkInfo = CTTelephonyNetworkInfo()
let carrier = networkInfo.subscriberCellularProvider
// Get carrier name
print(carrier?.carrierName)
That's it.