ios - UIImageJPGRepresentation and UIImagePNGRepresentation crash -


i have imagepicker , selecting on image want upload it. need uiimage tonsdata. have used uiimagepngrepresentation , uiimagejpegrepresentation. both of cases app crash. works simulator crash in device in second time. first time works perfect.

first, before using method debug image view object , after check length of nsdata after conversion.


Comments

Popular posts from this blog

linux - Could not find a package configuration file provided by "Qt5Svg" -

simple.odata.client - Simple OData Client Unlink -