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

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

      <tfoot id='wfW3v'></tfoot>
      1. <i id='wfW3v'><tr id='wfW3v'><dt id='wfW3v'><q id='wfW3v'><span id='wfW3v'><b id='wfW3v'><form id='wfW3v'><ins id='wfW3v'></ins><ul id='wfW3v'></ul><sub id='wfW3v'></sub></form><legend id='wfW3v'></legend><bdo id='wfW3v'><pre id='wfW3v'><center id='wfW3v'></center></pre></bdo></b><th id='wfW3v'></th></span></q></dt></tr></i><div id='wfW3v'><tfoot id='wfW3v'></tfoot><dl id='wfW3v'><fieldset id='wfW3v'></fieldset></dl></div>
        <legend id='wfW3v'><style id='wfW3v'><dir id='wfW3v'><q id='wfW3v'></q></dir></style></legend>

        为什么 CLLocationManager 在模拟器中的 iphone SDK 4 b

        时间:2023-09-01
            <tbody id='Jz3HH'></tbody>

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

            1. <tfoot id='Jz3HH'></tfoot>

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

                <bdo id='Jz3HH'></bdo><ul id='Jz3HH'></ul>
                  <legend id='Jz3HH'><style id='Jz3HH'><dir id='Jz3HH'><q id='Jz3HH'></q></dir></style></legend>
                  本文介绍了为什么 CLLocationManager 在模拟器中的 iphone SDK 4 beta 上返回空位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  I have this piece of code:

                  - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation
                  {
                      NSLog(@"Manager did update location!!");
                      self.currentLocation = newLocation.description;
                  }
                  

                  I have this code inside a class that conforms to the CLLocationManagerDelegate. I tested earlier in sdk 3.0 and works nice (on both simulator and device). I'm testing this class on the SDK 4, in the simulator, but it gives null as a newLocation. I can't even get the NSLog for the first call. I checked other app where I use the location framework and it doesn't work either.

                  I implemented the locationManager:didFailWithError: message also, wich is never called.

                  Can anyone please confirm that the simulator can't do any CLLocationManager capabilities? (a link where the bug is reported as a known issue will be awesome). Is there a way to fix this?

                  Thanks in advance.

                  -Update: I tested this on the new SDK4 GM release and still doesn't work.

                  解决方案

                  You can't discuss the SDK 4 outside of the Apple developer site until it is out of beta and released to the public.

                  这篇关于为什么 CLLocationManager 在模拟器中的 iphone SDK 4 beta 上返回空位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:传递给 onLocationChanged 的​​位置对象为空? 下一篇:Mac 上的 iOS 7 模拟器不适用于自定义位置(也不会

                  相关文章

                  最新文章

                • <small id='PDz0c'></small><noframes id='PDz0c'>

                    <tfoot id='PDz0c'></tfoot>
                      <bdo id='PDz0c'></bdo><ul id='PDz0c'></ul>
                      <legend id='PDz0c'><style id='PDz0c'><dir id='PDz0c'><q id='PDz0c'></q></dir></style></legend>
                    1. <i id='PDz0c'><tr id='PDz0c'><dt id='PDz0c'><q id='PDz0c'><span id='PDz0c'><b id='PDz0c'><form id='PDz0c'><ins id='PDz0c'></ins><ul id='PDz0c'></ul><sub id='PDz0c'></sub></form><legend id='PDz0c'></legend><bdo id='PDz0c'><pre id='PDz0c'><center id='PDz0c'></center></pre></bdo></b><th id='PDz0c'></th></span></q></dt></tr></i><div id='PDz0c'><tfoot id='PDz0c'></tfoot><dl id='PDz0c'><fieldset id='PDz0c'></fieldset></dl></div>