search

Home  >  Q&A  >  body text

objective-c - iOS 7 和 8 ,定位如何适配?

刚测试4s 7.2版本的 闪退了,然后发现是定位的方法是iOS8的,请问如何适配?

大家讲道理大家讲道理2891 days ago719

reply all(3)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 17:47:38

    There is a line of code in iOS 8 whether it is always positioning in the background or only running the program. This line cannot be added in iOS7. To determine the version number, add this line in iOS8

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 17:47:38

    Code distinguishes versions and calls api

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 17:47:38

    Is it solved? explain?

    reply
    0
  • Cancelreply