开发笔记

1、警告"All interface orientations must be supported unless the app requires full screen"

  • info.plist中添加"UIRequiresFullScreen - Yes"

2、添加"prefix.pch"文件

  • Precompile Prefix HeaderYES
  • Build Setting - Prefix Header - $(SRCROOT)/项目名/MyProject-prefix.pch
#import 
#ifndef __IPHONE_8_0
#warning "This project uses features only available in iOS SDK 8.0 and later."
#endif

#ifdef __OBJC__
#import 
#import 

#import "config.h"
#endif

3、导入 libTalkingDataGA.a

  • 1、Build Settings - Framework Search Paths - $(PROJECT_DIR)/项目名称/SDK
  • 2、导入系统框架:AdSupportCoreTelephonySystemConfigurationlibz.tbd

4、其他设置

  • 隐藏导航条 :UIStatusBarStyle - UIStatusBarStyleDefault
  • ipad隐藏电池 :UIViewControllerBasedStatusBarAppearance - false

你可能感兴趣的:(开发笔记)