LoginSignup
8
10

More than 5 years have passed since last update.

[Swift]キャリア名を取得する

Last updated at Posted at 2015-04-20
swift
import CoreTelephony

let carrierName = CTTelephonyNetworkInfo().subscriberCellularProvider?.carrierName ?? ""


println("carrier : \(carrierName)") // 出力は"KDDI"など
8
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
10