「Getting Started Guide」修訂間的差異
		
		
		
		
		
		跳至導覽
		跳至搜尋
		
				
		
		
	
| imported>Wikiuser | imported>Wikiuser  | ||
| 行 48: | 行 48: | ||
| #*NSMicrophoneUsageDescription app將使用麥克風偵測聲音 | #*NSMicrophoneUsageDescription app將使用麥克風偵測聲音 | ||
| #: [[檔案:Add privacy image.png|900px]] | #: [[檔案: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|回 iOS首頁]] | [[IOS SDK 2.0 Developer Guide|回 iOS首頁]] | ||
於 2018年6月20日 (三) 06:10 的修訂
系統需求
- iOS 6.0或以上的版本
- Xcode 6或以上的版本
整合至應用程式
- 將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
 
- 確認下列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
 
- 確認iOS SDK是否有加入framework, 若無則將其加入framework
- libTWMTAMediaAdsSDK.a
 
- 在Targets -> Build Setting裡面設定Other Linker Flags為-ObjC(參考http://developer.apple.com/library/mac/#qa/qa1490/_index.html)
- 若是xcode 8版本以上,需加入Privacy權限描述
- NSCalendarsUsageDescription app將使用行事曆紀錄活動
- NSMicrophoneUsageDescription app將使用麥克風偵測聲音
 


