久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <bdo id='gNkq6'></bdo><ul id='gNkq6'></ul>

        <i id='gNkq6'><tr id='gNkq6'><dt id='gNkq6'><q id='gNkq6'><span id='gNkq6'><b id='gNkq6'><form id='gNkq6'><ins id='gNkq6'></ins><ul id='gNkq6'></ul><sub id='gNkq6'></sub></form><legend id='gNkq6'></legend><bdo id='gNkq6'><pre id='gNkq6'><center id='gNkq6'></center></pre></bdo></b><th id='gNkq6'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='gNkq6'><tfoot id='gNkq6'></tfoot><dl id='gNkq6'><fieldset id='gNkq6'></fieldset></dl></div>

        <small id='gNkq6'></small><noframes id='gNkq6'>

        <tfoot id='gNkq6'></tfoot>
      1. <legend id='gNkq6'><style id='gNkq6'><dir id='gNkq6'><q id='gNkq6'></q></dir></style></legend>
      2. iOS 6 自動暫停不起作用

        iOS 6 AutoPause doesn#39;t work(iOS 6 自動暫停不起作用)
            <tbody id='b90l8'></tbody>

        • <i id='b90l8'><tr id='b90l8'><dt id='b90l8'><q id='b90l8'><span id='b90l8'><b id='b90l8'><form id='b90l8'><ins id='b90l8'></ins><ul id='b90l8'></ul><sub id='b90l8'></sub></form><legend id='b90l8'></legend><bdo id='b90l8'><pre id='b90l8'><center id='b90l8'></center></pre></bdo></b><th id='b90l8'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='b90l8'><tfoot id='b90l8'></tfoot><dl id='b90l8'><fieldset id='b90l8'></fieldset></dl></div>
            <tfoot id='b90l8'></tfoot>
            1. <small id='b90l8'></small><noframes id='b90l8'>

                <bdo id='b90l8'></bdo><ul id='b90l8'></ul>

                  <legend id='b90l8'><style id='b90l8'><dir id='b90l8'><q id='b90l8'></q></dir></style></legend>

                1. 本文介紹了iOS 6 自動暫停不起作用的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我已經(jīng)按照Session 303 - 從定位服務(wù)保持跟蹤"WWDC 2012 中的 AutoPause 示例

                  I've follow the example of AutoPause from "Session 303 - Staying on track from Location Services" WWDC 2012

                  在示例中,您可以看到 AutoPause 是如何啟用的,并且有兩個方法被調(diào)用:

                  In the example you can see how AutoPause is enabled and there two methods which are called:

                  -(void) locationManagerDidPauseLocationUpdates:(CLLocationManager *)manager
                  -(void) locationManagerDidResumeLocationUpdates:(CLLocationManager *)manager
                  

                  我做了同樣的例子,但這些方法從來沒有被調(diào)用過.誰試過了?

                  I've done the same example but these methods aren't never called. Who have tried the same?

                  推薦答案

                  我現(xiàn)在正在嘗試,以下是我的觀察:

                  I'm experimenting with that right now and here are my observations:

                  在 iPhone 4 上,這根本不起作用.即使您將 pausesLocationUpdatesAutomatically 設(shè)置為 YES,它也會將 pausesLocationUpdatesAutomatically 設(shè)置為 NO(0).沒有警告,這是什么 API 設(shè)計反模式!

                  On iPhone 4, that is not working at all. Even if you set pausesLocationUpdatesAutomatically to YES it keeps pausesLocationUpdatesAutomatically as NO(0). No warnings, what kind of API design anti-pattern is this!

                  在 iPhone 5 上 pausesLocationUpdatesAutomatically 默認為 YES (1).并調(diào)用 locationManagerDidPauseLocationUpdates.我在調(diào)用 locationManagerDidResumeLocationUpdates 時運氣不好.我也很困惑,如果 GPS 關(guān)閉,這將如何調(diào)用?一旦用戶到達下一個網(wǎng)絡(luò)單元,它會被調(diào)用嗎?即使那不是我的經(jīng)驗,也從來沒有被調(diào)用過.

                  On iPhone 5 pausesLocationUpdatesAutomatically is YES (1) by default. And locationManagerDidPauseLocationUpdates is called. I'm having a bad luck having the locationManagerDidResumeLocationUpdates called. I'm also puzzled how this is going to be called if GPS is off? Will it be called once user reaches the next network cell? Even that is not my experience, it is not ever called.

                  到目前為止,在我看來,這是 iOS6 中一致性最差的變化之一.對于所有場景,我可能只使用 pausesLocationUpdatesAutomatically = NO,并希望在 iOS6 的所有型號上都能正常工作.

                  So far, looks to me as one of the least consistent changes in iOS6. I might be going with just pausesLocationUpdatesAutomatically = NO for all scenarios and will hope that works ok on all models with iOS6.

                  [更新 - 2013 年 3 月 4 日].我查看了 Apple 關(guān)于 iOS6 中位置更改的演示文稿,他們建議在收到區(qū)域更改事件后使用區(qū)域更改監(jiān)控來取消暫停".雖然這不適合我的場景,因為用戶可能會去/跑步/開車一兩公里,直到發(fā)生此類事件.

                  [Update - 4-Mar-2013]. I looked through the Apple's presentation for location changes in iOS6 and they suggest to use the region changes monitoring to "un-pause" once you get region changes event. Though this is not suitable for my scenarios as user might go/run/drive for a kilometer or two until such an event happens.

                  這篇關(guān)于iOS 6 自動暫停不起作用的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  Help calculating X and Y from Latitude and Longitude in iPhone(幫助從 iPhone 中的緯度和經(jīng)度計算 X 和 Y)
                  Get user#39;s current location using GPS(使用 GPS 獲取用戶的當(dāng)前位置)
                  IllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 拋出的 IllegalArgumentException)
                  How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)
                  CLLocation returning negative speed(CLLocation 返回負速度)
                  How to detect Location Provider ? GPS or Network Provider(如何檢測位置提供者?GPS 或網(wǎng)絡(luò)提供商)
                2. <i id='0nJom'><tr id='0nJom'><dt id='0nJom'><q id='0nJom'><span id='0nJom'><b id='0nJom'><form id='0nJom'><ins id='0nJom'></ins><ul id='0nJom'></ul><sub id='0nJom'></sub></form><legend id='0nJom'></legend><bdo id='0nJom'><pre id='0nJom'><center id='0nJom'></center></pre></bdo></b><th id='0nJom'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='0nJom'><tfoot id='0nJom'></tfoot><dl id='0nJom'><fieldset id='0nJom'></fieldset></dl></div>
                      <tfoot id='0nJom'></tfoot>
                        <tbody id='0nJom'></tbody>

                        <small id='0nJom'></small><noframes id='0nJom'>

                          <bdo id='0nJom'></bdo><ul id='0nJom'></ul>

                          • <legend id='0nJom'><style id='0nJom'><dir id='0nJom'><q id='0nJom'></q></dir></style></legend>
                            主站蜘蛛池模板: 成年免费大片黄在线观看岛国 | 日本中文字幕一区 | 精品久久久久久久久久久久 | 一区二区三区国产好 | 亚洲福利视频一区二区 | 免费国产成人av | 日韩精品亚洲专区在线观看 | 中文字幕在线视频免费观看 | 天天做日日做 | 在线色网站 | 人人干超碰| 欧美日韩网站 | 91最新在线视频 | 日韩在线观看一区 | 日韩av一区二区在线观看 | 久久久国产一区二区三区 | 91视频在线| 国产免费又黄又爽又刺激蜜月al | 国产精品成人一区二区三区夜夜夜 | 日韩欧美一级片 | 欧美日韩视频 | 国产一区免费 | 欧美综合视频在线 | 亚洲福利视频一区二区 | 一区二区三区中文字幕 | 色综合网站 | 看一级毛片视频 | 亚洲精品乱码久久久久久蜜桃91 | 在线播放中文 | 在线免费激情视频 | 精品亚洲永久免费精品 | 国产精品久久久久久久岛一牛影视 | 亚洲一区二区精品视频 | 成人不卡 | 国内精品久久久久久久影视简单 | 日韩久久在线 | 久久日韩精品 | 欧美一区二区三区视频在线观看 | 亚洲视频免费在线观看 | 日韩一三区 | 中国av在线免费观看 |