Operation Queueʹҙ ͲͷOperation QueueͰσʔλΛड͚औΔ͔ΛࢦఆͰ͖Δ motionManager.startMagnetometerUpdates(to: .main) { (data, error) in // ϝΠϯεϨου } ↑OperationQueue.mainσʔλऔಘͷͨͼʹ UIεϨουΛϒϩοΩϯά͢Δ͜ͱʹͳΔɻɻ Because the processed events might arrive at a high rate, using the main operation queue is not recommended. https://developer.apple.com/documentation/coremotion/cmmotionmanager/1615968-startmagnetometerupdates