「Getting Started Guide」修訂間的差異
		
		
		
		
		
		跳至導覽
		跳至搜尋
		
				
		
		
	
| imported>Wikiuser | imported>Wikiuser  | ||
| (未顯示同一使用者於中間所作的 8 次修訂) | |||
| 行 1: | 行 1: | ||
| [[IOS SDK  | [[IOS SDK Developer Guide v2|回 iOS首頁]]<br><br> | ||
| == 系統需求 == | == 系統需求 == | ||
| * iOS  | * iOS 7.0或以上的版本 | ||
| * Xcode  | * Xcode 7或以上的版本 | ||
| == 整合至應用程式 == | == 整合至應用程式 == | ||
| # 將SDK加入iOS Project中, 包含下列檔案: | # 將SDK加入iOS Project中, 包含下列檔案: | ||
| #*  | #*TAMediaAdsFramework.framework | ||
| #*  | #*OMSDK_Taiwanmobile.framework | ||
| # 確認下列framework是否有加入 | # 確認下列framework是否有加入 | ||
| #* AdSupport.framework | #* AdSupport.framework | ||
| 行 37: | 行 26: | ||
| #* CoreAudio.framework | #* CoreAudio.framework | ||
| # 確認iOS SDK是否有加入framework, 若無則將其加入framework | # 確認iOS SDK是否有加入framework, 若無則將其加入framework | ||
| #*  | #* TAMediaAdsFramework.framework | ||
| #: [[檔案: | #* 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) | ||
| #: [[檔案: | #: [[檔案: OtherLinkFlag.png |900px]] | ||
| #若是xcode 8版本以上,需加入Privacy權限描述 | #若是xcode 8版本以上,需加入Privacy權限描述 | ||
| #*NSCalendarsUsageDescription app將使用行事曆紀錄活動 | #*NSCalendarsUsageDescription app將使用行事曆紀錄活動 | ||
| #*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首頁]] | ||
於 2019年8月6日 (二) 06:27 的最新修訂
系統需求
- iOS 7.0或以上的版本
- Xcode 7或以上的版本
整合至應用程式
- 將SDK加入iOS Project中, 包含下列檔案:
- TAMediaAdsFramework.framework
- OMSDK_Taiwanmobile.framework
 
- 確認下列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
- TAMediaAdsFramework.framework
- OMSDK_Taiwanmobile.framework
 
- 在Targets -> Build Setting裡面設定Other Linker Flags為-ObjC(參考http://developer.apple.com/library/mac/#qa/qa1490/_index.html)
- 若是xcode 8版本以上,需加入Privacy權限描述
- NSCalendarsUsageDescription app將使用行事曆紀錄活動
- NSMicrophoneUsageDescription app將使用麥克風偵測聲音
 
舊版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>


