我需要与代码http://code.kwint.in/emoji/source/进行沟通。我已编写代码将iPhone表情符号转换为Web视图(编辑器),但除了带问号的方框外,它没有显示表情符号,表示没有图像。所以我找到了上面的链接。我如何与此沟通。我有我的js文件。
-(void)imageToTextViewForHome:(id)sender
{
UIButton *refrenceButtonForHome;
refrenceButtonForHome = sender;
int tag = refrenceButtonForHome.tag;
NSLog(@"tag...%d",tag);
NSString *imageNameToPass = [NSString stringWithFormat:@"%@",[emoticonsArrayForHomeEmoji
objectAtIndex:tag]];
NSString *path =[[NSBundle mainBundle] pathForResource:imageNameToPass ofType:@"png"];
NSLog(@"pathForImage..%@",path);
[webViewForEditing stringByEvaluatingJavaScriptFromString:[NSString
stringWithFormat:@"document.execCommand('insertImage', false, '%@')", path]];
}