当从侧面调用视图时,我有主屏幕和侧面菜单,它看起来像第一个图像,当从主屏幕设计调用时像第二个图像一样分解。
prepareForSegue
代码:
if ([[segue identifier] isEqualToString:@"SellPropUpdateSegue"]) {
UITableViewCell *cell = sender;
// Get reference to the destination view controller
SellPropertyUpdateViewController *sell = [segue destinationViewController];
NSIndexPath *indexPath = [self.tableView indexPathForCell:cell];
NSLog(@"%@",[_PropertyIDArray[indexPath.row]stringValue]);
sell.sellPropID=[_PropertyIDArray[indexPath.row]stringValue];
//NSLog(@"%li",(long)rev.tag);
}