更新Xcode7后出现的问题
<Error>: CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
<Error>: CGContextTranslateCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
<Error>: CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
编译时没问题。运行时我已经在AppDelegate设置了断点,但没有一处是在这些错误发生之前能运行到的,甚至是在applicationDidBecomeActive设置断点,我也不知道这些错误到底是在哪一步发生的,请知道的大牛解答下。