NSLog( @"%@", i );

NSLog( @"%@", i );  %@需要显示对象,所以这个i必须是个对象类型。

原文地址:https://www.cnblogs.com/ejllen/p/3688321.html