Skip to content

Instantly share code, notes, and snippets.

@SunXiaoShan
Created June 19, 2020 06:12
Show Gist options
  • Save SunXiaoShan/ff9156ed3d93150e6cb9ca062d70aa4c to your computer and use it in GitHub Desktop.
Save SunXiaoShan/ff9156ed3d93150e6cb9ca062d70aa4c to your computer and use it in GitHub Desktop.
static CGFloat fullViewYPosition = 0;
static CGFloat partialViewYPosition = 0;
static CGFloat expandedViewYPosition = 0;
- (void)setupData {
fullViewYPosition = 100;
partialViewYPosition = [UIScreen mainScreen].bounds.size.height - 130;
expandedViewYPosition = [UIScreen mainScreen].bounds.size.height - 130 - 130;
self.lastStatus = expanded;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment