0
我剛下載了新的XCode並構建了包含自定義標籤欄繪圖的應用程序。使用XCode 4.2構建自定義標籤欄應用程序時出現很多錯誤
我得到了一大堆類似的錯誤:
<Error>: CGContextSetFillColorWithColor: invalid context 0x0
<Error>: CGContextSetStrokeColorWithColor: invalid context 0x0
<Error>: CGContextGetCompositeOperation: invalid context 0x0
<Error>: CGContextSetCompositeOperation: invalid context 0x0
<Error>: CGContextFillRects: invalid context 0x0
<Error>: CGContextSetCompositeOperation: invalid context 0x0
<Error>: CGContextSetRGBFillColor: invalid context 0x0
<Error>: CGContextFillRects: invalid context 0x0
等。我如何解決它們?我的應用程序還沒有啓動。
上傳你的代碼。 – 2012-03-12 02:15:36