Getting Started Guide

出自TAMedia
於 2018年6月20日 (三) 06:10 由 imported>Wikiuser 所做的修訂
跳至導覽 跳至搜尋

回 iOS首頁

系統需求

  • iOS 6.0或以上的版本
  • Xcode 6或以上的版本


整合至應用程式

  1. 將SDK加入iOS Project中, 包含下列檔案:
    • libTWMTAMediaAdsSDK.a
    • TADAdSize.h
    • TADBannerView.h
    • TADBannerViewDelegate.h
    • TADInterstitial.h
    • TADInterstitialDelegate.h
    • TADRequest.h
    • TADRequestError.h
    • TADVideoAdView.h
    • TADVideoAdViewDelegate.h
    • TAMClose.png
    • facebook.png
    • TAMTarget.png
    • mute.caf
  2. 確認下列framework是否有加入
    • AdSupport.framework
    • AudioToolbox.framework
    • AVFoundation.framework
    • CoreGraphics.framework
    • CoreTelephony.framework
    • EventKit.framework
    • Foundation.framework
    • MediaPlayer.framework
    • MessageUI.framework
    • StoreKit.framework
    • SystemConfiguration.framework
    • UIKit.framework
    • CoreAudio.framework
  3. 確認iOS SDK是否有加入framework, 若無則將其加入framework
    • libTWMTAMediaAdsSDK.a
    Sdk-framework.png
  4. 在Targets -> Build Setting裡面設定Other Linker Flags為-ObjC(參考http://developer.apple.com/library/mac/#qa/qa1490/_index.html)
    Objc-flag.png
  5. 若是xcode 8版本以上,需加入Privacy權限描述
    • NSCalendarsUsageDescription app將使用行事曆紀錄活動
    • NSMicrophoneUsageDescription app將使用麥克風偵測聲音
    Add privacy image.png

回 iOS首頁