「Getting Started Guide」修訂間的差異

出自TAMedia
跳至導覽 跳至搜尋
imported>Wikiuser
imported>Wikiuser
行 10: 行 10:
#*TAMediaAdsFramework.framework
#*TAMediaAdsFramework.framework
<!--
<!--
#* libTWMTAMediaAdsSDK.a
#*OMSDK_Taiwanmobile.framework
#* 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
-->
-->
# 確認下列framework是否有加入
# 確認下列framework是否有加入
行 41: 行 28:
# 確認iOS SDK是否有加入framework, 若無則將其加入framework
# 確認iOS SDK是否有加入framework, 若無則將其加入framework
#* TAMediaAdsFramework.framework
#* TAMediaAdsFramework.framework
<!--
#: [[檔案: SDK7 turtorial iOS.png |900px]]
-->
#: [[檔案: SDKAddFWK.png |900px]]
#: [[檔案: SDKAddFWK.png |900px]]
<!--#* libTWMTAMediaAdsSDK.a-->
<!--#: [[檔案:Sdk-framework.png|900px]]-->
# 在Targets -> Build Setting裡面設定Other Linker Flags為-ObjC(參考http://developer.apple.com/library/mac/#qa/qa1490/_index.html)
# 在Targets -> Build Setting裡面設定Other Linker Flags為-ObjC(參考http://developer.apple.com/library/mac/#qa/qa1490/_index.html)
#: [[檔案:Objc-flag.png|900px]]
#: [[檔案:Objc-flag.png|900px]]

於 2019年8月3日 (六) 11:36 的修訂

回 iOS首頁

系統需求

  • iOS 7.0或以上的版本
  • Xcode 7或以上的版本


整合至應用程式

  1. 將SDK加入iOS Project中, 包含下列檔案:
    • TAMediaAdsFramework.framework
  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
    • TAMediaAdsFramework.framework
    SDKAddFWK.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

舊版SDK升版至SDK6

  1. 移除下列檔案:
    • 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. 專案加入TAMediaAdsFramework.framework
  3. 將程式碼內有加入TAMedia標頭檔.h的地方皆改為#import <TAMediaAdsFramework/TAMediaAdsFramework.h>


回 iOS首頁