【发布时间】:2015-09-03 06:52:23
【问题描述】:
我在视图控制器中有这段代码,但拨号按钮没有运行,图像视图没有出现任何东西
//
// ViewController.m
// EasyBuy
//
// Created by Moments on 9/2/15.
// Copyright (c) 2015 Moments. All rights reserved.
//
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
imageview.image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:@" http://93.95.207.34/easybuy.com/car/car2.png "]]];
// Do any additional setup after loading the view, typically from a nib.
}
- (IBAction)callus:(id)sender {
[[ UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:00962796880853"]];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
你能帮帮我吗
【问题讨论】:
标签: ios objective-c