YWWebScrollView.h
719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//
// YWWebScrollView.h
// SmallLook
//
// Created by NeiQuan on 16/6/24.
// Copyright © 2016年 余伟. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef void(^CancleShow)();
@interface YWWebScrollView : UIView
@property (nonatomic, strong) NSMutableArray *imageUrls;
@property(nonatomic,assign)NSInteger ScrollViewTag;//用于记录点击那个照片
@end
@interface YWWebSmallScrollView : UIScrollView
/**
* 单击取消图片浏览器的操作
*/
@property(nonatomic,copy) CancleShow cancleShow;
/**
* 恢复item的初始缩放比例
*/
- (void)RestoreViewScale;
/**
* 开始加载视图操作
*
* @param url 加载image的URL
*/
- (void)StartLoadImageWithUrl:(NSString *)url;
@end