Skip to content

FXImageView doesn't play gif image #23

@navaneet

Description

@navaneet

Hi,

I am trying to use FXImageView with a gif loading image, the FXImageView itself is a view for the iCarousel. However even though a normal UIIMageView can play gif animated images, the FXImageView doesn't play the animation and only displays a static image!

The code I am using is as follows:

NSString *filePath = [[NSBundle mainBundle] pathForResource: @"loadingImage" ofType: @"gif"];
        NSData *gifData = [NSData dataWithContentsOfFile: filePath];
        UIImage *loadingImage = [UIImage animatedImageWithAnimatedGIFData:gifData];
        fximageView = loadingImage;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions