摘要:
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> 阅读全文
摘要:
NSString*homeDirectoryPath =NSHomeDirectory(); NSString*imagePath = [homeDirectoryPathstringByAppendingString:@"/graph.png"]; NSLog(@"Image: %@", imagePath); if(![[NSFileManagerdefaultManager]fileExistsAtPath:imagePathisDirectory:NULL]) { UIImageView* myImageView = [[UIImagealloc 阅读全文