「Getting Started Guide」修訂間的差異

出自TAMedia
跳至導覽 跳至搜尋
imported>Wikiuser
imported>Wikiuser
 
(未顯示同一使用者於中間所作的 12 次修訂)
行 1: 行 1:
[[IOS SDK Developer Guide v2|回 iOS首頁]]<br><br>
== 系統需求 ==
== 系統需求 ==
* iOS 5.0或以上的版本
* iOS 7.0或以上的版本
* Xcode 5或以上的版本
* Xcode 7或以上的版本




== 整合至應用程式 ==
== 整合至應用程式 ==
# 將SDK加入iOS Project中, 包含下列檔案:
# 將SDK加入iOS Project中, 包含下列檔案:
#* libTWMTAMediaAdsSDK.a
#*TAMediaAdsFramework.framework
#* TADAdSize.h
#*OMSDK_Taiwanmobile.framework
#* TADBannerView.h
 
#* TADBannerViewDelegate.h
#* TADInterstitial.h
#* TADInterstitialDelegate.h
#* TADRequest.h
#* TADRequestError.h
#* TADVideoAdView.h
#* TADVideoAdViewDelegate.h
#* close.png
#* facebook.png
#* target.png
#* mute.caf
# 確認下列framework是否有加入
# 確認下列framework是否有加入
#* AdSupport.framework
#* AdSupport.framework
行 33: 行 24:
#* SystemConfiguration.framework
#* SystemConfiguration.framework
#* UIKit.framework
#* UIKit.framework
#* CoreAudio.framework
# 確認iOS SDK是否有加入framework, 若無則將其加入framework
# 確認iOS SDK是否有加入framework, 若無則將其加入framework
#* libTWMTAMediaAdsSDK.a
#* TAMediaAdsFramework.framework
#: [[檔案:Sdk-framework.png|900px]]
#* OMSDK_Taiwanmobile.framework
#: [[檔案: SDK7 turtorial iOS.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]]
#: [[檔案: OtherLinkFlag.png |900px]]
 
#若是xcode 8版本以上,需加入Privacy權限描述
#*NSCalendarsUsageDescription app將使用行事曆紀錄活動
#*NSMicrophoneUsageDescription app將使用麥克風偵測聲音
#: [[檔案:Add privacy image.png|900px]]


== 舊版SDK升版至SDK6以上版本 ==
#移除下列檔案:
#* 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
#專案加入TAMediaAdsFramework.framework
#將程式碼內有加入TAMedia標頭檔.h的地方皆改為#import <TAMediaAdsFramework/TAMediaAdsFramework.h>




[[IOS SDK 2.0 Developer Guide|Back]]
[[IOS SDK 2.0 Developer Guide|回 iOS首頁]]

於 2019年8月6日 (二) 06:27 的最新修訂

回 iOS首頁

系統需求

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


整合至應用程式

  1. 將SDK加入iOS Project中, 包含下列檔案:
    • TAMediaAdsFramework.framework
    • OMSDK_Taiwanmobile.framework
  1. 確認下列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
  2. 確認iOS SDK是否有加入framework, 若無則將其加入framework
    • TAMediaAdsFramework.framework
    • OMSDK_Taiwanmobile.framework
    SDK7 turtorial iOS.png
  1. 在Targets -> Build Setting裡面設定Other Linker Flags為-ObjC(參考http://developer.apple.com/library/mac/#qa/qa1490/_index.html)
    OtherLinkFlag.png
  2. 若是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首頁