Questions tagged [asyncimageview]

16 questions
6
votes
2 answers

How do I access the image in AsyncImage to save the image after it's been retrieved? ( SwiftUI )

I'm currently trying to find a way to save an image from AsyncImage so I can cache it right away (without using a separate image retrieval process). This is my code for AsyncImage and the Extension on View I'm using to try to save…
2
votes
2 answers

Android compose, Indicator size problem with coil

Recently, I try to migrate to Jetpack compose. So, I want to show 'card' where has 'indicator' while loading but I can't change 'indicator' size in 'SubcomposeAsyncImage' @Composable private fun SponsorDialogContent( imgUrl: String, ) { …
2
votes
2 answers

AsyncImage not displaying image URL when passed into view

This child view is not displaying image URLs passed in from a parent view. Child view: struct PostImageView: View { var postImage: String var body: some View { AsyncImage(url: URL(string: postImage)) { image in image …
alyx
  • 2,593
  • 6
  • 39
  • 64
2
votes
1 answer

Image not being loaded in AsyncImageView

I've just updated to Xcode 7 and Swift 2.0, and of course it has caused some issues in my app. I have solved a lot of them, but I am struggling with this one. In my table view, I am loading images from Parse.com, but for some reason, the images are…
user3746428
  • 11,047
  • 20
  • 81
  • 137
1
vote
2 answers

UIImageView not show downloaded images after localized iOS app

When i localized iOS app . UIImageView not showing images at all , These images i downloaded it from urls . NOTE: i am using AsyncImageView component . @implementation CategoryView + (CategoryView *)getViewWithTitle:(NSString *)title…
Gabrail
  • 216
  • 2
  • 16
1
vote
0 answers

EXC_BAD_ACCESS while using ASyncImageView

I'm trying to run my application on iPhone 6 (iOS 9.3.2) and using XCode 7.3 but the problem is that it is getting crashed everytime I move from one tab to another. The Exception is pointing to this class and the method marked as "error". Can anyone…
0
votes
1 answer

BackdropScaffold backLayerContent image content scale issue

I have a Compose Screen with BackdropScaffold and with AsyncImage in backLayerContent, so when I open the Screen the first time, the scale of the image works weird, like in Screenshot1. And when I reopen the Screen, the image is placed correctly, as…
0
votes
1 answer

Zoom and pan two images simultaneously in opencv

I have two images with similar sizes that show similar scenes. How can we show two images in two frames and when panning or zooming in the left image, it pans and zooms in the right one? I don't want to concatenate the images though. Is there a…
Bruce
  • 415
  • 2
  • 19
0
votes
0 answers

Uncompress UIImage in an optimum way

I have to display multiple kinds of images (not just JPG or PNG) for a photo app. The problem I am facing is while convert the NSData downloaded for a few high resolution image (around 6900*6900 and 6999 * 6999 px) to UIImage the application crashes…
Ganesh Somani
  • 2,280
  • 2
  • 28
  • 37
0
votes
1 answer

AsyncImageView is not loading images in iOS 9.0 xcode 7+

I am using following code for iOS 8.x.x xcode 6.4 and it is working fine; AsyncImageView *categoryview = [[AsyncImageView alloc]initWithFrame:CGRectMake(0, 0, Cate.frame.size.width, Cate.frame.size.height)]; categoryview.imageURL =…
Samraan Khaan
  • 480
  • 4
  • 13
0
votes
1 answer

Cache and display image in uiimageview

I am using asyncimageview in the uitableview for displaying the image in the uitableviewcell but when scrolling the tableview the image are not displayed directly. it first display old one and the present the new image from the url. its not caching…
Gaurav Parmar
  • 447
  • 2
  • 11
0
votes
1 answer

How to replace the cached AsyncImage with new image in ios

I have an AsyncImageView which is loading images of a profile.Once the user changed his/her profile picture it will replace the image in the same image URL.Now Problem is it's loading the old image from cache instead of replace it with new one. Can…
0
votes
1 answer

asyncImageView crashing while loading images

Facing crash issue while loading set of images with urls with asyncImageView. The error I am getting is -[__NSCFString isFileURL]: unrecognized selector sent to instance in cellForRowAtIndexPath UITableViewCell *cell = (UITableViewCell *)[tableView…
Code cracker
  • 3,105
  • 6
  • 37
  • 67
0
votes
2 answers

Repeated image loading in tableviewcell

I have a tableview with each cell having its own imageview. I'm using AsyncImageView to load images from the internet into the imageview. Certain imageviews seem to be loading a repeated image into different cells: In the screenshot above, Image B…
Moo33
  • 1,251
  • 3
  • 15
  • 27
0
votes
1 answer

AysncImageView - Need to load image with loadImageWithURL, Can't see this method?

I want to use AsyncImageView to load and image from a URL and then add this image to a UIView. I have retrieved my URL but when I try to use the method loadImageWithURL I can't because it is not declared in the interface for AsyncImageView but…
1
2