pod 'XLJNewFeature', '~> 1.0.2'
如果发现pod search XLJNewFeature搜索出来的不是最新版本,需要在终端执行cd命令退回到desktop目录,然后执行pod setup命令更新本地spec缓存(可能需要几分钟),然后再搜索就可以了。
2016-11-14
1.更新横屏问题,目录是禁止横屏. 2.添加版本对比功能,以便能获取最新的版本。 3.建议最后一页的按钮使用图片,而不用自己写文字信息。
2016-10-14 — 第一次更新,进行功能添加。
/**
*初始化 *
*@param array 传入一个数组
*@param buttonSize 按钮的宽度和高度
*@param buttonTitle 按钮显示的文字
*@param imageName 按钮的图片
*@param titleColor 按钮文字的颜色
*@param startHeight 按钮的Y的比率
*@param controller 按钮点击跳转的界面 *
*@return */
-(instancetype)initWithNSArray:(NSMutableArray *)array withButtonSize:(CGSize)buttonSize withButtonTitle:(NSString *)buttonTitle withButtonImage:(NSString *)imageName withButtonTitleColor:(UIColor *)titleColor withButtonHeight:(CGFloat)startHeight withViewController:(UIViewController *)controller;
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
ViewController *homeVC = [[ViewController alloc] init];
XLJNewFetureController *newVC = [[XLJNewFetureController alloc] initWithNSArray:self.mArray withButtonSize:CGSizeMake(120, 80) withButtonTitle:@"开启旅行" withButtonImage:@"functionGuideBt1" withButtonTitleColor:[UIColor orangeColor] withButtonHeight:0.87 withViewController:homeVC];
self.window.rootViewController = newVC;
[self.window makeKeyAndVisible];
UiviewCollectionView
来实现,实现此功能有很多方法,比如直接使用uiscrollview
实现。★★★★★★★★★★