摘要: NSString *file = [[NSBundle mainBundle] pathForResource:@”7,0″ ofType:@”png”]; NSString *url = [NSString stringWithFormat:@"<html> <head><script type=\"text/javascript\">document.ontouchmove = function(e){ e.preventDefault();} </script></head><style> 阅读全文
posted @ 2011-08-31 15:42 老码农豆豆 阅读(658) 评论(0) 推荐(0) 编辑
摘要: NSString*homeDirectoryPath =NSHomeDirectory(); NSString*imagePath = [homeDirectoryPathstringByAppendingString:@"/graph.png"]; NSLog(@"Image: %@", imagePath); if(![[NSFileManagerdefaultManager]fileExistsAtPath:imagePathisDirectory:NULL]) { UIImageView* myImageView = [[UIImagealloc 阅读全文
posted @ 2011-08-31 15:27 老码农豆豆 阅读(537) 评论(0) 推荐(0) 编辑