Objective-C消息被发送到解除分配的UITransitionView'对象(僵尸)地址:0x1f120730

时间:2014-07-30 06:18:42

标签: ios7

我在图像的这一行上面临这个问题。

所以请帮帮我。我花了太多钱才发现。但我无法找到它。

这是实际错误 [UITransitionView isDescendantOfView:]:发送到解除分配的消息

enter image description here

这是即时通讯的方法..

-(void)loadImageAtURLing:(UITapGestureRecognizer*)recogniser
{
    [MBProgressHUD hideAllHUDsForView:appDelegate.window animated:YES];

    int imgTag = [recogniser.view tag];

    NSString *str = [arrDropPinId objectAtIndex:imgTag];

    urlString = [arrLargePhoto objectAtIndex:imgTag];
    NSLog(@"Larget Image %@",arrLargePhoto);

    self.pdvc = [[PhotoDetailVC alloc] init];

    self.pdvc.isFromTVView = NO;

    if([urlString rangeOfString:@".mp4"].location == NSNotFound)
    {
        NSString *strImage = [arrLargePhoto objectAtIndex:imgTag];

        NSRange lastValue = [strImage rangeOfString:@"300" options:NSBackwardsSearch];

        if(lastValue.location != NSNotFound) {
            strImage = [strImage stringByReplacingCharactersInRange:lastValue
                                                         withString: @"800"];
        }

        self.pdvc.isVideo     = NO;
        self.pdvc.imgURL      = [strImage copy];
        self.pdvc.pinIdStr    = [str copy];
        self.pdvc.imageURLArr = [arrLargePhoto mutableCopy];
        self.pdvc.btnIndex    = imgTag;

    }
    else
    {
        self.pdvc.isVideo   = YES;
        self.pdvc.imgURL    = [urlString copy];
        self.pdvc.pinIdStr  = [str copy];
        self.pdvc.btnIndex  = imgTag;

        NSLog(@"DropPIn ARR %@",arrCheckPinId);
    }

    [self presentViewController:self.pdvc animated:NO completion:nil];
}

1 个答案:

答案 0 :(得分:-1)

最后我得到了解决方案。因为这发生了UITransitionView和UITransitionWrapperView没有设置框架。所以我已经完成了这个

self.tabBarController.view.superview.frame = self.view.bounds;