假设您有 receiveData 和 receiveData2 在名为 NextViewController 的 ViewController 中,
然后我们可以这样做,
NextViewController *nextViewController = [[NextViewController alloc] initWithNibName:@"NextViewController" bundle:nil];
[nextViewController setReceivedData: sendData1];
[nextViewController setReceivedData2: sendData2];
[self presentViewController:NextViewController animated:YES completion:nil];
也改变非原子,分配给非原子强
@property(nonatomic,strong) NSMutableData *receivedData;
@property(nonatomic,strong) NSMutableData *receivedData2;