ttimageViewには黒い画像(または:ttimageViewの置換)が表示されます
-
24-10-2019 - |
質問
320のttimageViewを使用して、非末画像の読み込み +キャッシュです。
この問題は、画像が完全に黒く表示され、ロードが終了することがないことに気付きました。これが私が見ているものの例です:
http://screencast.com/t/7o7fnedx5z2
だから...基本的に、これが320のバグなのか、もしそうなら、それを修正する方法(それを修正するかもしれないパッチがありますか)または:
非同期画像の読み込み +キャッシュを実行する優れたttimageViewの交換はありますか?
解決
私は私のログで以下を見ていたことがわかりました:
ttrequestloader接続:dedreceiveresponse :: ttdassert失敗:0 == _ queue.maxcontentlength || contentLength <= _ queue .maxcontentlength
(失敗した画像ごとに1つ)
その後、少しグーグルでレンダリングされました:
http://groups.google.com/group/three20/browse_thread/thread/8bfac3654a6d9674/caf797f26545971?pli=1
ジェフ・ヴェルコイエン:
その主張の直前のコメントは、状況に光を当てるべきです。
// If you hit this assertion it's because a massive file is about to be downloaded.
// If you're sure you want to do this, add the following line to your app delegate startup
// method. Setting the max content length to zero allows anything to go through. If you just
// want to raise the limit, set it to any positive byte size.
// [[TTURLRequestQueue mainQueue] setMaxContentLength:0]
所属していません StackOverflow