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

    <small id='3sWsn'></small><noframes id='3sWsn'>

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

        <legend id='3sWsn'><style id='3sWsn'><dir id='3sWsn'><q id='3sWsn'></q></dir></style></legend>

      2. <tfoot id='3sWsn'></tfoot>
          <bdo id='3sWsn'></bdo><ul id='3sWsn'></ul>
      3. 地理定位在 iOS 8 模擬器中不起作用

        Geolocation is not working in iOS 8 simulator(地理定位在 iOS 8 模擬器中不起作用)

          <legend id='nZaX4'><style id='nZaX4'><dir id='nZaX4'><q id='nZaX4'></q></dir></style></legend>
            <tbody id='nZaX4'></tbody>

            <bdo id='nZaX4'></bdo><ul id='nZaX4'></ul>
            1. <small id='nZaX4'></small><noframes id='nZaX4'>

              • <tfoot id='nZaX4'></tfoot>

                1. <i id='nZaX4'><tr id='nZaX4'><dt id='nZaX4'><q id='nZaX4'><span id='nZaX4'><b id='nZaX4'><form id='nZaX4'><ins id='nZaX4'></ins><ul id='nZaX4'></ul><sub id='nZaX4'></sub></form><legend id='nZaX4'></legend><bdo id='nZaX4'><pre id='nZaX4'><center id='nZaX4'></center></pre></bdo></b><th id='nZaX4'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='nZaX4'><tfoot id='nZaX4'></tfoot><dl id='nZaX4'><fieldset id='nZaX4'></fieldset></dl></div>
                  本文介紹了地理定位在 iOS 8 模擬器中不起作用的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我已經按照這篇文章升級了 cordova 3.5 中的地理定位插件以解決 iOS 8 中的問題.

                  I have upgraded the geolocation plugin in cordova 3.5 to fix the issue in iOS 8 by following this post.

                  http://shazronatadobe.wordpress.com/2014/09/18/cordova-ios-and-ios-8/

                  在 iOS8 模擬器中運行應用程序后,我收到通知允許MyApp"在您使用應用程序時訪問您的位置?但是在允許定位服務使用該應用后,它仍然顯示錯誤 locationManager::didFailWithError (null).我試圖關閉模擬器并一次又一次地運行它.此外,通過檢查模擬器中的設置,位置服務似乎處于活動狀態(設置 > 隱私 > 位置服務 > MyApp > 使用時).通過在 iOS 7 模擬器中運行相同的應用程序可以正常工作并且能夠檢測 lat/lng.

                  After running the app in iOS8 simulator, I am getting the notification 'Allow "MyApp" to access your location while you use the app?' But it still shows the error locationManager::didFailWithError (null) after allowing the location service to use the app. I have tried to close the simulator and run it again and again. Also it seems that location service is active (Settings > Privacy > Location services > MyApp > While Using) by checking the settings in the simulator. By running the same app in iOS 7 simulator is working fine and able to detect the lat/lng.

                  僅供參考:我正在使用 Xcode 6 構建應用程序.

                  FYI: I am using Xcode 6 to build the application.

                  任何幫助/建議都會有所幫助.

                  Any help/suggestion will be helpful.

                  推薦答案

                  聽起來很奇怪,但至少在我的 Xcode 6 項目上確實有效.還要確保將所需的密鑰添加到您的 Projectname-info.plist 文件中(例如 NSLocationWhenInUseUsageDescription -> 作為密鑰)

                  it sounds strange but it really works at least on my Xcode 6 Project. Make also sure to add the required Keys to your Projectname-info.plist file (e.g NSLocationWhenInUseUsageDescription -> as a Key)

                  接下來檢查您的方案(產品 -> 方案 -> 編輯方案 -> 允許位置模擬)如果您使用的是 gpx 文件,您還可以將其標記為默認位置.

                  Next check your scheme (Product -> Scheme -> Edit Scheme -> Allow Location Simulation) If you are using a gpx file you can also mark it as a default location.

                  現在您可以通過按下運行按鈕(播放符號)來啟動您的模擬器.一旦您的應用程序開始,您將收到許可通知.

                  Now you can start your simulator by pressing the run button (play symbol). As soon as your application started you will get notified for the permission.

                  現在的最終修復是轉到 iOS Simulator -> Debug -> Location 并通過從列表中選擇一個自定義位置以外的位置來更改位置.稍等一下,如果它沒有自行變回,則將其改回自定義位置.

                  The final fix now is to go to iOS Simulator -> Debug -> Location and change the location by choosing one out of the list except the custom location. Wait a little and change it back to custom location if it didnt change back by itself.

                  它對我有用,也希望你問候施瑞達

                  It worked for me, hope for you too regards Schreda

                  這篇關于地理定位在 iOS 8 模擬器中不起作用的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 或網絡提供商)
                  <tfoot id='LxhOV'></tfoot>
                  • <small id='LxhOV'></small><noframes id='LxhOV'>

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

                      <tbody id='LxhOV'></tbody>

                        • <bdo id='LxhOV'></bdo><ul id='LxhOV'></ul>

                          1. 主站蜘蛛池模板: 欧美美女爱爱 | 色婷婷精品久久二区二区蜜臂av | 亚洲高清在线免费观看 | 国产91视频免费 | 亚洲精品欧美一区二区三区 | 日本不卡一区 | 伊人热久久 | 中文在线视频观看 | 成人精品国产一区二区4080 | 中文字幕一区二区三区四区五区 | 91久久精品国产91久久性色tv | 久久成人亚洲 | 国产高清一二三区 | 国产精品欧美一区二区 | 在线国产一区二区三区 | 日韩三区 | 狠狠热视频 | 精品日韩一区 | www.天天操| 国产一区二区三区在线看 | 成人免费视频在线观看 | 国产精品久久久久久久 | 99热视 | 精品国产一区二区三区在线观看 | 日韩一区在线观看视频 | 国产精品美女一区二区 | 在线超碰 | 精品国产91 | 亚洲黄色一区二区三区 | 日韩欧美国产一区二区三区 | 亚洲精品不卡 | 久久夜夜 | 五月婷婷视频 | 一区二区三区av夏目彩春 | 久久丝袜 | jvid精品资源在线观看 | 亚洲中午字幕 | 亚洲精品日日夜夜 | 国产一区二区三区在线看 | 午夜久久av | 午夜影院在线观看版 |