开发笔记
1、警告"All interface orientations must be supported unless the app requires full screen"
- 在
info.plist
中添加"UIRequiresFullScreen - Yes"
2、添加"prefix.pch"文件
-
Precompile Prefix Header
为 YES
-
Build Setting
- Prefix Header
- $(SRCROOT)/项目名/MyProject-prefix.pch
#import <Availability.h>
#ifndef __IPHONE_8_0
#warning "This project uses features only available in iOS SDK 8.0 and later."
#endif
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "config.h"
#endif
3、导入 libTalkingDataGA.a
- 1、
Build Settings
- Framework Search Paths
- $(PROJECT_DIR)/项目名称/SDK
- 2、导入系统框架:
AdSupport
、CoreTelephony
、SystemConfiguration
、libz.tbd
4、其他设置
- 隐藏导航条 :
UIStatusBarStyle
- UIStatusBarStyleDefault
- ipad隐藏电池 :
UIViewControllerBasedStatusBarAppearance
- false
本文标题:开发笔记
本文链接:https://www.haomeiwen.com/subject/nrissxtx.html
网友评论