在文檔中沒有說明CGImageSourceCopyPropertiesAtIndex
函數。但我是對的,我應該打電話CFRelease
回覆CFDictionaryRef
?我應該從CGImageSourceCopyPropertiesAtIndex調用中釋放返回對象嗎?
快速樣品:
NSDictionary* metadata = (NSDictionary *)CGImageSourceCopyPropertiesAtIndex(source,0,NULL);
......................
//Should i call CFRelease(metadata); ??
感謝。
,謝謝,我只是困惑,很多CGImageCreate功能狀態,它明確。 – user266973 2010-05-26 17:19:36