→ howdiun:UIGraphicsBeginImageContext(smallSize); 12/12 09:32
→ howdiun:[image drawInRect:imageRect]; 12/12 09:32
→ howdiun:sImage = UIGraphicsGetImageFromCurrentImageContext(); 12/12 09:33
→ howdiun:UIGraphicsEndImageContext(); 12/12 09:33
→ howdiun:not the best way, but a simple way 12/12 09:34
推 fightword:另一個問題 有沒有辦法可以偵測到圖太大的錯誤 12/12 12:48
→ fightword:以避免程式會crash 12/12 12:48
→ tom19830924:didReceiveRespose可以取得圖的大小 12/12 16:42
→ tom19830924:[response expectedContentLength] 12/12 16:42
→ tom19830924:可以在圖太大的話[connection cancel] 12/12 16:44