1amageek / PaperKit

PaperKit is like Paper app of Facebook
Other
156 stars 16 forks source link

one more delegate method #5

Closed makleso6 closed 9 years ago

makleso6 commented 9 years ago

what method should i call when PKCollectionViewCell didChange to another

i need know when user change PKCollectionViewCell with swiping (PKCollectionViewCell is full screen). i try to use selectedIndexPath but it is not working well

may be it is didEndSrollToItem?

1amageek commented 9 years ago

PKContentViewController method.

Please check FullScreenContentViewController in example

- (void)viewDidDisplayInFullScreen
{
    [super viewDidDisplayInFullScreen];
    [self.previewView startMotion];
}

- (void)viewDidEndDisplayingInFullScreen
{
    [super viewDidEndDisplayingInFullScreen];
    [self.previewView stopMotion];
}