LZZConsole
简介
可以在应用程序中打开的控制台(只用一行代码设置)
安装
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
target 'TargetName' do
pod 'LZZConsole', '~> 0.0.3'
end
使用
在 appdelegate 的 didFinishLaunchingWithOptions 方法中使用 [LZZConsole shareConsole].enable = YES; 进行配置
然后在应用程序的任何页面摇晃试试!
单行设置
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// It is recommended to use only once
[LZZConsole shareConsole].enable = YES;
return YES;
}