简体   繁体   中英

tvOS load lcr image file in a UIImageView

Using tvOS, how am I able to load a LCR image file in an image view using objective-c? I tried something like this but it didn't work out:

NSURL *imagePostedURL = [NSURL URLWithString:[dict objectForKey:@"image"]];

[self.img setImageWithURL:imagePostedURL];

Hey I was facing exactly same issue but I am doing it in Swift. I could find a work around for this problem and here is link of my question and answer: Unable to load LCR image in tvOS apps

Basically you need to save .lcr file in local system and then use it. I explained with code sample in my answer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM