"unrecognized selector sent to instance"问题的解决 我遇到的是提前release掉 Product类成员调用了[tmp objectAtIndex:1] 而类成员是指针类型,tmp在被默认release掉后,就报错了. 只要在[[tmp objectAtIndex:1]copy]就可以了.