我正在使用scrollview并实现委托方法。滚动视图上参数类型的分布式对象修饰符冲突
-(void) scrollViewWillEndDragging:(UIScrollView *)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(CGPoint *)targetContentOffset{
CGPoint p = *targetContentOffset;
int counter = [self counterForPosition:p];
*targetContentOffset=[self positionForCounter:counter];;
//load month -2;
self.month=counter-2;
}
我收到Xcode的警告。在实施的参数类型 冲突的分布式对象修改“:withVelocity:targetContentOffset:scrollViewWillEndDragging”
我发现了一些线索,我不完全理解,并没有解决我的问题。 Singleton release method produces warning?
现在这只是一个警告,没有任何崩溃。我认为这是我个人的强迫症,我想解决这个问题。
的Tx
你有没有解决这个问题?我有同样的问题。 – 2012-07-30 13:13:50