HIGuidePage
示例
要运行示例项目,请先克隆仓库,然后在 Example 目录中运行 pod install
。
要求
安装
HIGuidePage 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中:
pod 'HIGuidePage'
使用方法
(见 /Demo 中的示例 Xcode 项目) 在您的应用中使用 'HIGuidePage' 通常是如此简单
NSArray *images = @[HIGUIDEPAGE_IMAGE(@"1.png"), HIGUIDEPAGE_IMAGE(@"2.png"), HIGUIDEPAGE_IMAGE(@"3.png")];
[HIGuidePage appearance].pageControlBottomSpace = @(20);
[HIGuidePage appearance].lastButtonBottmSpace = @(80);
HIGuidePage *guideView = [HIGuidePage instance];
__weak HIAppDelegate* weakDelegate = self;
[guideView showGuideViewWithImages:images withCompletionBlock:^(void){
[weakDelegate.window makeKeyWindow];
}];
Autho
hellohufan, [email protected]
License
HIGuidePage遵循MIT许可证。更多信息请查看LICENSE文件。