2
我注意到了Coree Motion的一個問題。當我使用核心位置和核心運動設備標題
[_mMotionManager startDeviceMotionUpdatesUsingReferenceFrame: CMAttitudeReferenceFrameXTrueNorthZVertical
toQueue: [[[NSOperationQueue alloc] init] autorelease]
withHandler:
^(CMDeviceMotion* motion, NSError* error) {
//my code here
}];
獲取設備運動時,它給我錯誤的設備標題。我的意思是如果我開始處理運動更新保持設備朝北,標題是確定的。但是,如果我不開始朝北,那麼偏見是非常大的。
有什麼辦法可以得到正確的標題值嗎?
是的,但這並沒有幫助 – Max