图片调整,暗黑模式屏蔽,加入防闪退代码

This commit is contained in:
kai60
2019-11-11 17:59:53 +08:00
parent 27ddecac30
commit 1448a02de0
30 changed files with 1747 additions and 3 deletions
@@ -0,0 +1,25 @@
//
// NSAttributedString+AvoidCrash.h
// AvoidCrashDemo
//
// Created by mac on 16/10/15.
// Copyright © 2016年 chenfanfang. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSAttributedString (AvoidCrash)
+ (void)avoidCrashExchangeMethod;
@end
/**
* Can avoid crash method
*
* 1.- (instancetype)initWithString:(NSString *)str
* 2.- (instancetype)initWithAttributedString:(NSAttributedString *)attrStr
* 3.- (instancetype)initWithString:(NSString *)str attributes:(NSDictionary<NSString *,id> *)attrs
*
*
*/