1
我看到這個在調試器控制檯:<Error>:CGImageSourceGetType圖像源參數是零 n - iPhone SDK
<Error>: CGImageSourceGetType image source parameter is nil\n
我認爲這可能與由Mobclix的廣告庫中使用的UIWebView的。
我沒有在我的應用程序中觀察到任何不良行爲,但我可能會錯過某些東西。
我看到這個在調試器控制檯:<Error>:CGImageSourceGetType圖像源參數是零 n - iPhone SDK
<Error>: CGImageSourceGetType image source parameter is nil\n
我認爲這可能與由Mobclix的廣告庫中使用的UIWebView的。
我沒有在我的應用程序中觀察到任何不良行爲,但我可能會錯過某些東西。
我在使用UIWebView中的HTML5標籤時看到過相同的消息。當用顏色填充形狀時,它似乎由fill()調用觸發。我無法找到問題,雖然在fillStyle()中替換十六進制顏色可以阻止錯誤出現在我的案例中。
context.fillStyle = '#666'; //causes errors
context.fillStyle = 'rgb(100,100,100)'; //no errors
context.fill(); //error appeared when this statement was executed
我這個問題的來源猜測是CoreGraphics在渲染相關的JavaScript API調用的Safari瀏覽器的使用一個不起眼的錯誤。