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

How can i load the image viewer directly without the thumbnail list. #38

Open
Kyusuh opened this issue Dec 19, 2011 · 1 comment
Open

Comments

@Kyusuh
Copy link

Kyusuh commented Dec 19, 2011

didSelectThumbAtIndex: --> How can i use it?

@ghost
Copy link

ghost commented Jul 11, 2012

The instructions are pretty clear from the readme but nonetheless, you need to implement a class which confirms to KTPhotoBrowserDataSource protocol. Also implement any other required methods like numberOfPhotos(), imageAtIndex:photoView(). Lastly, on selection of an image from your implementation of the thumbnail viewer, its as simple as:

KTPhotoScrollViewController *aController = [[KTPhotoScrollViewController alloc]
initWithDataSource:
andStartWithPhotoAtIndex:index];

[self.navigationController pushViewController:aController animated:YES];
[aController release];

Hope this helps!

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

1 participant