Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bing6/KSGuide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

18 Commits

Repository files navigation

#iOS App first start guide

#Setup

 NSMutableArray *paths = [NSMutableArray new];
 
 [paths addObject:[[NSBundle mainBundle] pathForResource:@"1" ofType:@"jpg"]];
 [paths addObject:[[NSBundle mainBundle] pathForResource:@"2" ofType:@"jpg"]];
 [paths addObject:[[NSBundle mainBundle] pathForResource:@"3" ofType:@"jpg"]];
 [paths addObject:[[NSBundle mainBundle] pathForResource:@"4" ofType:@"jpg"]];
 
 [[KSGuideManager shared] showGuideViewWithImages:paths];

#Custom Button

 [[KSGuideManager shared] setDelegate:self];
 
 - (UIButton *)KSGuidLastPageButton {
 UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
 [button setFrame:CGRectMake(0, 0, 200, 44)];
 [button setTitle:@"Hi~~" forState:UIControlStateNormal];
 [button setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
 [button.layer setCornerRadius:5];
 [button.layer setBorderColor:[UIColor grayColor].CGColor];
 [button.layer setBorderWidth:1.0f];
 [button setBackgroundColor:[UIColor whiteColor]];
 [button setCenter:CGPointMake(kScreenBounds.size.width / 2, kScreenBounds.size.height - 100)];
 return button;
}

#Installation

 platform:ios,'7.0'
 pod 'KSGuide', '~> 1.2'

About

iOS App first start guide

Resources

License

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /