zoukankan      html  css  js  c++  java
  • not available in automatic reference counting mode

    UncaughtExceptionHandler.m:156:47: 'autorelease' is unavailable: not available in automatic reference counting mode

    ARC forbids explicit message send of 'autorelease'

    [[[[UncaughtExceptionHandler alloc] init] autorelease]

         performSelectorOnMainThread:@selector(handleException:)

         withObject:

         [NSException

          exceptionWithName:UncaughtExceptionHandlerSignalExceptionName

          reason:

          [NSString stringWithFormat:

           NSLocalizedString(@"Signal %d was raised.", nil),

           signal]

          userInfo:

          [NSDictionary

           dictionaryWithObject:[NSNumber numberWithInt:signal]

           forKey:UncaughtExceptionHandlerSignalKey]]

         waitUntilDone:YES];

    解决方法:

    http://blog.csdn.net/xbl1986/article/details/7216668

  • 相关阅读:
    html5新增元素和废除元素
    html5本地存储
    第四章表单与文件笔记新增属性
    第五章canvas
    lable中for的作用
    第四章表单与文件学习内容
    第三章html5的结构
    html5的全局属性
    正则表达式—升华
    微前端
  • 原文地址:https://www.cnblogs.com/royi123/p/7126143.html
Copyright © 2011-2022 走看看