search

Home  >  Q&A  >  body text

ios - 如何使用runtime获取UIApplication单例并调用其方法?

如何使用runtime获取UIApplication单例并调用其方法?

PHP中文网PHP中文网2771 days ago923

reply all(1)I'll reply

  • 阿神

    阿神2017-04-18 09:54:20

    Is this necessary? UIApplication is originally a single profit, you can get it directly by using [UIApplication sharedApplication]

    reply
    0
  • Cancelreply