// 用 uiwebimage 來顯示 gif 圖片
// 設定位置和大小
CGRect frame = CGRectMake(50,500,0,0);
frame.size = [UIImage imageNamed:@"1440470244396823.gif"].size;
// 讀取gif圖片數據
NSData *gif = [NSData dataWithContentsOfFile: [[NSBundle mainBundle] pathForResource:@"1440470244396823" ofType:@"gif"]];
// view生成
UIWebView *webView = [[UIWebView alloc] initWithFrame:frame];
webView.userInteractionEnabled = NO;//用戶不可交互
[webView loadData:gif MIMEType:@"image/gif" textEncodingName:nil baseURL:nil];
[self.view addSubview:webView];
[webView release];