{"action":"created","issue":{"url":"https://api.github.com/repos/ibireme/YYText/issues/259","repository_url":"https://api.github.com/repos/ibireme/YYText","labels_url":"https://api.github.com/repos/ibireme/YYText/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/ibireme/YYText/issues/259/comments","events_url":"https://api.github.com/repos/ibireme/YYText/issues/259/events","html_url":"https://github.com/ibireme/YYText/issues/259","id":145074935,"number":259,"title":"把QQ新版的动态表情导出来后，用有色背景的YYTextView显示它们时会有白边。","user":{"login":"glaciertears","id":17395426,"avatar_url":"https://avatars.githubusercontent.com/u/17395426?v=3","gravatar_id":"","url":"https://api.github.com/users/glaciertears","html_url":"https://github.com/glaciertears","followers_url":"https://api.github.com/users/glaciertears/followers","following_url":"https://api.github.com/users/glaciertears/following{/other_user}","gists_url":"https://api.github.com/users/glaciertears/gists{/gist_id}","starred_url":"https://api.github.com/users/glaciertears/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glaciertears/subscriptions","organizations_url":"https://api.github.com/users/glaciertears/orgs","repos_url":"https://api.github.com/users/glaciertears/repos","events_url":"https://api.github.com/users/glaciertears/events{/privacy}","received_events_url":"https://api.github.com/users/glaciertears/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-01T03:13:10Z","updated_at":"2016-04-01T03:17:38Z","closed_at":null,"body":"![qq20160401-0 2x](https://cloud.githubusercontent.com/assets/17395426/14196825/a21a0c26-f7fa-11e5-8a86-5547f3abeef3.png)\r\n"},"comment":{"url":"https://api.github.com/repos/ibireme/YYText/issues/comments/204227704","html_url":"https://github.com/ibireme/YYText/issues/259#issuecomment-204227704","issue_url":"https://api.github.com/repos/ibireme/YYText/issues/259","id":204227704,"user":{"login":"glaciertears","id":17395426,"avatar_url":"https://avatars.githubusercontent.com/u/17395426?v=3","gravatar_id":"","url":"https://api.github.com/users/glaciertears","html_url":"https://github.com/glaciertears","followers_url":"https://api.github.com/users/glaciertears/followers","following_url":"https://api.github.com/users/glaciertears/following{/other_user}","gists_url":"https://api.github.com/users/glaciertears/gists{/gist_id}","starred_url":"https://api.github.com/users/glaciertears/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glaciertears/subscriptions","organizations_url":"https://api.github.com/users/glaciertears/orgs","repos_url":"https://api.github.com/users/glaciertears/repos","events_url":"https://api.github.com/users/glaciertears/events{/privacy}","received_events_url":"https://api.github.com/users/glaciertears/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T03:17:38Z","updated_at":"2016-04-01T03:17:38Z","body":"NSMutableAttributedString *text = [[NSMutableAttributedString alloc] init];\r\n    UIFont *font = [UIFont systemFontOfSize:16.0];\r\n    NSArray *names = @[@\"002\", @\"005\", @\"006\",@\"010\",@\"011\", @\"014\", @\"019\", @\"020\", @\"021\", @\"026\", @\"038\", @\"044\", @\"097\", @\"098\", @\"099\"];\r\n    for (NSString *name in names) {\r\n        YYImage *image = [YYImage imageNamed:name];\r\n        image.preloadAllAnimatedImageFrames = YES;\r\n        YYAnimatedImageView *imageView = [[YYAnimatedImageView alloc] initWithImage:image];\r\n        NSMutableAttributedString *attachText = [NSMutableAttributedString yy_attachmentStringWithContent:imageView contentMode:UIViewContentModeCenter attachmentSize:imageView.size alignToFont:font alignment:YYTextVerticalAlignmentCenter];\r\n        [text appendAttributedString:attachText];\r\n    }"}}