-
Notifications
You must be signed in to change notification settings - Fork 17
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
Programmatically Scroll In Gallery #2
Comments
What I am trying to ultimately do is accomplish the following: -Photo #10 is currently shown on the screen. There are 100 photos. So essentially, I want to be able to remove photos out of the scrollview and then change the offset so that the next picture shows. Any help at all would be great. Thank you! |
you.
|
So, This is not ASGallery responsibility. -(void)init
}
|
Thank you so much for your quick reply, I just got to work today and will try that out. If the app I'm working on does get published, I'll make sure to give you a shoutout. Much appreciated :) |
Last quick question if you know off the top of your head. How would I access the URL of the ALAsset currently shown on the screen? I know it's somewhere in the (loadImage: withImageType:) method of ALAssetAdapter.m, whenever I do a NSLog of the ASGalleryImageType, I get 1 and 2. I think that 2 is the full screen image that is being shown, but more than one image has this ASGalleryImageType. Is there a way for me to add a line in this method so that I can store the URL of the image currently shown on the screen as an instance variable? Thanks! |
Hmm, it is not good way to modify loadImage: withImageType: You can add following function: -(NSURL_)currentAssetURL I think you have to make visiblePageForIndex: -> public, and use it in |
Dear Allright,
I am trying to have a button in my app that allows the user to advance forward or backwards in the gallery without swiping. For example, pressing the button while on selectedIndex = 1 would move the ASGallery to selectedInde = 6, and then the 7th photo would be shown in the gallery. How would I go about doing something like this? I've tried to play around with and tweak your existing code but am having some problems. Thanks!
Best,
Felix
The text was updated successfully, but these errors were encountered: