search

Home  >  Q&A  >  body text

weex ios 如何获取设备id 如UDID

现在需要stream post请求中需要设备id 如何获取

巴扎黑巴扎黑2771 days ago605

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-04-18 09:59:53

    There is no ready-made method for front-end developers. Module needs to be extended at the iOS level, which can be obtained as follows:
    [[[UIDevice currentDevice] identifierForVendor] UUIDString];

    reply
    0
  • Cancelreply