跳至主要内容

Getting Started

需求​

  • iOS 4.3或以上的版本
  • Xcode 5或以上的版本

整合至應用程式​

  1. 將下列檔案加入iOS Project中

    • libTWMTAMediaView.a
    • TWMTAMediaView.h
    • TWMTAMediaInterstitialView.h
    • CloseButton.png
  2. 確認原本iOS project是否有下列framework, 若無則加入下列framework

    • CoreTelephony.framework
    • CoreLocation.framework
    • SystemConfiguration.framework
    iOS_framework.png
  3. 在Targets -> Build Setting裡面設定Other Linker Flags為-ObjC(參考http://developer.apple.com/library/mac/#qa/qa1490/\_index.html)

    iOS_OtherLinkerFlags.png