修复消息页面部分bug

This commit is contained in:
wbzhan
2019-05-27 16:41:39 +08:00
parent 25c051d5f1
commit 8e027e82c9
16 changed files with 355 additions and 546 deletions
+10 -10
View File
@@ -7,19 +7,19 @@
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, ImagePosition) {
ImagePositionLeft = 0, // 图片在左,文字在右,默认
ImagePositionRight, // 图片在右,文字在左
ImagePositionTop, // 图片在上,文字在下
ImagePositionBottom, // 图片在下,文字在上
};
#define defaultInterval 0.01//默认时间间隔
//typedef NS_ENUM(NSInteger, ImagePosition) {
// ImagePositionLeft = 0, // 图片在左,文字在右,默认
// ImagePositionRight, // 图片在右,文字在左
// ImagePositionTop, // 图片在上,文字在下
// ImagePositionBottom, // 图片在下,文字在上
//};
//#define defaultInterval 0.01//默认时间间隔
@interface UIButton (button)
/**
* 为按钮添加点击间隔 eventTimeInterval秒
*/
@property(nonatomic, assign) UIEdgeInsets hitTestEdgeInsets;//响应范围负值为扩大,正值为缩小
@property (nonatomic, assign) NSTimeInterval timeInterval;
- (void)setImagePosition:(ImagePosition)postion spacing:(CGFloat)spacing;//设置图片与文字具体位置与间距
//@property(nonatomic, assign) UIEdgeInsets hitTestEdgeInsets;//响应范围负值为扩大,正值为缩小
//@property (nonatomic, assign) NSTimeInterval timeInterval;
//- (void)setImagePosition:(ImagePosition)postion spacing:(CGFloat)spacing;//设置图片与文字具体位置与间距
@end