JJException icon indicating copy to clipboard operation
JJException copied to clipboard

Protect the objective-c application(保护App不闪退)

Results 39 JJException issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/13567812/146516927-2d2905e5-4b4e-4c60-b500-0853fa071bb8.png) 如图这是xcode采集的

请问作者大大,这个崩溃怎么解决 SDK版本 0.2.9 ![image](https://user-images.githubusercontent.com/15194024/97696121-0f806000-1ae0-11eb-9a15-436d835e23ad.png)

如题: ` NSKeyValueObservingOptions opts = NSKeyValueObservingOptionInitial | NSKeyValueObservingOptionNew; [self.player addObserver:self forKeyPath:@"rate" options:opts context:nil]; ` 添加后查看player.observationInfo 是null空的,其他的类型如果添加了NSKeyValueObservingOptionInitial值,还没试是否会添加失败。 在KVO防护里判断下如果有intial值的不防护,问题可以解决 `- (void)hookAddObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(void *)context{ if ([self ignoreKVOInstanceClass:observer] || (options...

野指针的问题解决了吗?为什么不用ARC呢?KVO移除ARC也可以啊

直接使用YYTextWeakProxy 定时器还是失效 self.timer = [NSTimer scheduledTimerWithTimeInterval:1.0 target:[YYTextWeakProxy proxyWithTarget:self] selector:@selector(timerEvent1:) userInfo:nil repeats:YES]; // self.timer = [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(timerEvent1:) userInfo:nil repeats:YES]; [[NSRunLoop currentRunLoop] addTimer:self.timer forMode:NSRunLoopCommonModes]; #import NS_ASSUME_NONNULL_BEGIN /** A proxy used...

例如 1、let a = 3/0 2、iOS13使用5Gapi let network5G = [CTRadioAccessTechnologyNR,CTRadioAccessTechnologyNRNSA] 崩溃类型分别是 EXC_ARITHMETIC EXC_BAD_ACCESS 这种崩溃类型 能否拦截 防止崩溃

添加JJExceptionGuardKVOCrash 使用切换摄像头 前到后 后到前导致异常访问 if ([_session canAddInput:_deviceInput]) { [_session addInput:_deviceInput]; }

导入该框架后,xmpp无法使用,接收到的消息无法解析,直接为null,关闭以后恢复正常, 作者有兴趣可以搭个环境测试一下,看看能否重现,

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll...