Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I found could not scroll image sometimes. #389

Open
Gerry1218 opened this issue Apr 17, 2015 · 12 comments
Open

I found could not scroll image sometimes. #389

Gerry1218 opened this issue Apr 17, 2015 · 12 comments

Comments

@Gerry1218
Copy link

But It's good if i use only armv7 architecture or not use Asset Catalog/Launch Screen File .

It has problem on iphone 6+, but it's ok in simulator.
Enviroment : xcode 6.2 iPhone6+ ios8.0.2

@Querschlag
Copy link

+1

Environment: xcode 6.3 iPhone 5 iOS8.3

@muzijie1231968
Copy link

+1
Environment: xcode 6.3 iPhone 4s iOS8.3 32bit have a exception at third image
Environment: xcode 6.3 iPhone 5s iOS8.3 64bit is Normal
Who can help me ?

@Gerry1218
Copy link
Author

Pls use IDMPhotoBrowser, it's good

@asnor
Copy link

asnor commented Apr 29, 2015

+1
It happens 100% on my simulator iOS8.1 and device iOS8.3
Case is zoom in certain photo then can't scroll to others anymore, but after i tap the screen it will be ok then.

@JingtingChen
Copy link

+1
it happens on some specific images
iphone5 IOS7.0

@shitong
Copy link

shitong commented May 12, 2015

in my case, a specific image (width 600 height 1600) can't scroll to others after vertical drag, but after zoom, it can scroll to others, I think it might be due to the fractional part of contentSize or zoom related, tail add the following code to the function layoutSubviews in MWZoomingScrollView.m, it works for me.

self.contentSize = CGSizeMake(floorf(self.contentSize.width), floorf(self.contentSize.height));

@zziazm
Copy link

zziazm commented May 13, 2015

shitong's answer is right

@jkrzemie
Copy link

+1
Environment: xcode 6.3 iPhone 5s iOS8.3

@pondahai
Copy link

shitong's answer is right!! thanks!

@boolean93
Copy link

shitong's answer does work! Thanks a lot.

@erickyim
Copy link

shitong's answer works.
In my case, the images are 600*387.

@riversea2015
Copy link

riversea2015 commented Oct 28, 2016

shitong's answer is perfect, very very thank you!
Environment: iPhone6Plus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests