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

Appearance settings

Dobbinyang/ScrollView

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
4 Commits
 
 
 
 

Repository files navigation

ScrollView

In the APP is first started calling SCrollView, lead you to the application.

UIPageControl

//user can't clic
pc.userInteractionEnabled = NO;

UIScrollViewDelegate

-(void)scrollViewDidScroll:(UIScrollView *)scrollView
{
  CGPoint offset = scrollView.contentOffset;
   self.pc.currentPage = round(offset.x / scrollView.bounds.size.width);
}

instructions

在图片上,添加跳转按钮时,要设置与用户交互
imageV.userInteractionEnabled = YES;

About

The SCrollView's started to use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.