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

图片已经发布的状态,我从哪里获取进去图片的方法 #43

Open
mangoYan opened this issue Dec 28, 2016 · 3 comments
Open

Comments

@mangoYan
Copy link

我点击了我的评论,然后在点击图片,我的键盘没有消失,我想知道在外部可以获取即将进入图片的方法么,然后我隐藏键盘

@ko1o
Copy link
Owner

ko1o commented Dec 29, 2016

你是使用PYPhotosView类?

@ko1o
Copy link
Owner

ko1o commented Dec 29, 2016

@mangoYan 现在已经提供了PYPhotosView相关代理方法- (void)photosView:(PYPhotosView *)photosView willShowWithPhotos:(NSArray *)photos index:(NSInteger)index; 详情见PYPhotosView.h文件

@mangoYan
Copy link
Author

mangoYan commented Dec 29, 2016

@iphone5solo 已经解决了,用了点开大图的通知。那个方法【hotosView:(PYPhotosView )photosView willShowWithPhotos:(NSArray的)的照片指数:(NSInteger的)指数; 详情见PYPhotosView.h文件】这个类里面代理方法对于已经点开发布状态的图片不管用。而我是用了一个【
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(bigImageDidClicked:) name:@"PYBigImageDidClikedNotification" object:nil];】这个解决点开大图的

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

2 participants