12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //
- // GuidePageView.h
- // ShangHaiShiKe
- //
- // Created by mac mini on 15/6/13.
- // Copyright (c) 2015年 com.ShangHaiShiKe. All rights reserved.
- //
- ////添加方式
- //if (![[NSUserDefaults standardUserDefaults] boolForKey:@"flag"]) {
- // BOOL flag = YES;
- // [[NSUserDefaults standardUserDefaults] setBool:flag forKey:@"flag"];
- //
- // guidePageView = [[GuidePageView alloc] initWithFrame:CGRectMake(0, 0, KApplicationSize.width, KApplicationSize.height)];
- // __block HomeViewController *vc = self;
- // guidePageView.GuidePageViewBack = ^(void) {
- //
- // [UIView animateWithDuration:.3 animations:^{
- // vc->guidePageView.alpha = 0;
- //
- // } completion:^(BOOL finished) {
- // [vc->guidePageView removeFromSuperview];
- // }];
- //
- // [vc createFunctionGuideView];
- // };
- // [ApplicationDelegate.window addSubview:guidePageView];
- //}
- //多张新手引导页
- #import <UIKit/UIKit.h>
- @interface GuidePageView : UIView <UIScrollViewDelegate> {
-
- UIScrollView *mainScrollView;
- UIPageControl *pageView;
- UIButton *backBut;
- }
- - (id)initWithFrame:(CGRect)frame images:(NSArray *)array;
- @property (nonatomic, copy) void (^GuidePageViewBack)(void);
- @end
|