objective c - Log the dimensions of an ALAssetRepresentation -


how log dimensions of image?

my code:

alassetrepresentation *asset = [alasset defaultrepresentation]; nslog(@"dim: %@", [asset dimensions]); 

i've tried lots of variations keep getting format warnings require cgsize (aka 'struct cgsize')

alassetrepresentation *asset = [alasset defaultrepresentation]; nslog(@"dim: %@", nsstringfromcgsize([asset dimensions])); 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -