1
제스처 인식기를 사용하여 드래그하고 재정렬에 대한 iOS 9 지원을 새로 추가하여 iOS 9에서 내 UICollectionViewCell을 재정렬 할 수 있습니다.드래그 할 때 가운데로 UICollectionViewCell 이동 방지하기
public func beginInteractiveMovementForItemAtIndexPath(indexPath: NSIndexPath) -> Bool // returns NO if reordering was prevented from beginning - otherwise YES
public func updateInteractiveMovementTargetPosition(targetPosition: CGPoint)
public func endInteractiveMovement()
public func cancelInteractiveMovement()
셀을 드래그하기 시작할 때 중심이 터치 위치로 변경됨을 알았습니다. 마음에 들지 않습니다.
내가 원한다면 내 코너를 드래그 할 수 있기를 바랍니다.
이 작업을 수행하는 방법을 알고 계십니까?
고마워요.
당신이 해결책을 찾았나요? – Nico
아직 안타깝게도. – thierryb