Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone UIWebView崩溃?_Iphone - Fatal编程技术网

Iphone UIWebView崩溃?

Iphone UIWebView崩溃?,iphone,Iphone,嗨,朋友们 应用程序是,使用一个在底部放置广告的imageviewer,当点击时将移动到php注册页面,当用户关闭注册视图时,它将返回imageviewer,就像我使用PhotoViewer的Three20UI库一样 代码如下: -(void) actionCall { if(isValue) { NSLog(@"removeView from WEbview"); UIView *tmpView = (UIView *)[self.view viewWithTag:10]

嗨,朋友们

应用程序是,使用一个在底部放置广告的imageviewer,当点击时将移动到php注册页面,当用户关闭注册视图时,它将返回imageviewer,就像我使用PhotoViewer的Three20UI库一样

代码如下:

-(void) actionCall {

if(isValue) {

    NSLog(@"removeView from WEbview");

    UIView *tmpView = (UIView *)[self.view viewWithTag:10];

    [tmpView removeFromSuperview];

    [custView removeFromSuperview];

    isValue = FALSE;
}

if(changeViewSize == 1)
{
    myView.frame = CGRectMake(0, 365, 360, 72);
}

 }

[cusBtn addTarget:self action:@selector(actionCall) forControlEvents:UIControlEventTouchUpInside];
单击closebtn时程序崩溃,请选择任何解决方案。

尝试以下操作:

-(void) actionCall:(id)sender {


十个问题,没有一个被接受?你必须努力,否则人们会停止给你答案。
[cusBtn addTarget:self action:@selector(actionCall:) forControlEvents:UIControlEventTouchUpInside];