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