[CATransaction begin];
[CATransaction setCompletionBlock: ^{
// Code to be executed upon completion
[self connectPrinterWithDeviceInfo:deviceInfo];
}];
[tableView beginUpdates];
[tableView moveRowAtIndexPath:indexPath toIndexPath:newIndexPath];
[tableView endUpdates];
[CATransaction commit];
沒有留言:
張貼留言