久久久久久久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 自動暫停不起作用的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我已經按照Session 303 - 從定位服務保持跟蹤"WWDC 2012 中的 AutoPause 示例

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

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

                  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
                  

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

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

                  推薦答案

                  我現在正在嘗試,以下是我的觀察:

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

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

                  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).并調用 locationManagerDidPauseLocationUpdates.我在調用 locationManagerDidResumeLocationUpdates 時運氣不好.我也很困惑,如果 GPS 關閉,這將如何調用?一旦用戶到達下一個網絡單元,它會被調用嗎?即使那不是我的經驗,也從來沒有被調用過.

                  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 關于 iOS6 中位置更改的演示文稿,他們建議在收到區域更改事件后使用區域更改監控來取消暫停".雖然這不適合我的場景,因為用戶可能會去/跑步/開車一兩公里,直到發生此類事件.

                  [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.

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

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

                  相關文檔推薦

                  Help calculating X and Y from Latitude and Longitude in iPhone(幫助從 iPhone 中的緯度和經度計算 X 和 Y)
                  Get user#39;s current location using GPS(使用 GPS 獲取用戶的當前位置)
                  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 或網絡提供商)
                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>
                            主站蜘蛛池模板: 日日摸夜夜添夜夜添特色大片 | 国产真实精品久久二三区 | 成人小视频在线观看 | 国产精品久久久久久吹潮日韩动画 | 久久久久久成人 | 国产一区二区三区四区在线观看 | 在线看亚洲 | 91在线影院 | 欧美精品一区二区三区四区 在线 | 91最新视频 | 欧美高清性xxxxhdvideosex | 爱草视频| 色天堂视频 | 欧美性一区二区三区 | 久久精品av | 夜夜骚视频 | 中文字幕国产视频 | 国产美女一区二区 | 羞羞的视频免费在线观看 | 日韩精品久久久久久 | 欧美性久久久 | 三级黄色网址 | 99精品电影 | 色接久久| 亚洲三区在线观看 | 色婷婷国产精品综合在线观看 | 亚洲色图第一页 | 中文字幕免费 | 国产传媒毛片精品视频第一次 | 91久久久久久久久久久久久 | 9999国产精品欧美久久久久久 | 日韩在线中文字幕 | 粉色午夜视频 | 中文字幕人成乱码在线观看 | 日日草夜夜草 | 久久免费电影 | 精品网站999| 日本在线视 | 亚洲午夜av久久乱码 | 国产无人区一区二区三区 | 岛国午夜 |