ios - XCode: String URL to Image -
how can convert image url (string) image in xcode (objective-c)? have images in url. , want make array images how images. can read in iphone aplicatioon. help!
nsdata *data = [nsdata datawithcontentsofurl : url]; uiimage *image = [uiimage imagewithdata: data]; just remember -datawithcontentsofurl: synchronous call , should not performed on main thread.
Comments
Post a Comment