Heim  >  Fragen und Antworten  >  Hauptteil

objective-c - 适配iOS7,给WKWebView做了一个分类,然后另外一个类有使用分类中方法,对于iOS7及以下的系统做适配,应该怎么做?

需要对分类中.h文件用条件编译吗?还是只需要对调用的时候做一个判断?

天蓬老师天蓬老师2722 Tage vor624

Antworte allen(1)Ich werde antworten

  • 怪我咯

    怪我咯2017-04-18 09:50:27

    编译期检查
    运行时判断

    Antwort
    0
  • StornierenAntwort