-4
當我運行我的應用程序,我得到的錯誤在這些行:線程1:EXC_BAD_INSTRUCTION(代碼= EXC_1386_INVOP子碼=爲0x0)
ballonview = (cell!.contentView.viewWithTag(0)!.viewWithTag(1) as? UIImageView)!
label = (cell!.contentView.viewWithTag(0)!.viewWithTag(2) as! UILabel)
這裏是在Objective-C的原代碼,但我想它在迅速
balloonView = (UIImageView *)[[cell.contentView viewWithTag:0] viewWithTag:1];
label = (UILabel *)[[cell.contentView viewWithTag:0] viewWithTag:2];
那麼,我能做什麼?