图片调整,暗黑模式屏蔽,加入防闪退代码
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// NSMutableAttributedString+AvoidCrash.h
|
||||
// AvoidCrashDemo
|
||||
//
|
||||
// Created by mac on 16/10/15.
|
||||
// Copyright © 2016年 chenfanfang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface NSMutableAttributedString (AvoidCrash)
|
||||
|
||||
+ (void)avoidCrashExchangeMethod;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
/**
|
||||
* Can avoid crash method
|
||||
*
|
||||
* 1.- (instancetype)initWithString:(NSString *)str
|
||||
* 2.- (instancetype)initWithString:(NSString *)str attributes:(NSDictionary<NSString *,id> *)attrs
|
||||
*/
|
||||
Reference in New Issue
Block a user