issues
search
christianroman
/
CRMotionView
A custom photo viewer that implements device motion scrolling, inspired by Facebook Paper.
MIT License
758
stars
75
forks
source link
Other image size
#1
Closed
BlackSelf
closed
10 years ago
BlackSelf
commented
10 years ago
If image height is not 1136px:
(void)setImage:(UIImage
)image { _image = image; int w = _viewFrame.size.height / _image.size.height \
_image.size.width; [_imageView setFrame:CGRectMake(0, 0, w, _viewFrame.size.height)];
... }
christianroman
commented
10 years ago
Awesome! works fine! :+1:
If image height is not 1136px:
... }