你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
马克玲
赞同来自:
NSString *imagePath = [[NSBundle mainBundle] pathForResource:@Argentina ofType:@png]; //Concatenating file:// with the image path NSMutableString* localUrl = [NSMutableString stringWithString: @file://]; [localUrl appendString:imagePath]; //Check the image local URL NSLog(@%@,localUrl); AGSPopupInfo *info = [AGSPopupInfo popupInfoForGraphic:graphic]; NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:localUrl, @sourceURL, nil];
要回复问题请先登录或注册
1 个回复
马克玲
赞同来自:
访问本地图片的样例代码:
要回复问题请先登录或注册