 		super.viewDidLoad()
 		
 		button1.addTarget(self, action: "buttonTapped:", forControlEvents: .TouchUpInside)
-		button1.setTitle("Show me row 7", forState: .Normal)
+		button1.setTitle("Show me the last row", forState: .Normal)
 		view.addSubview(button1)
 	}
 	
 	func buttonTapped(button:UIButton) {
 		let vc = PrescrollDemoViewController()
+		vc.rowToPrescrollTo = vc.colorList.count - 1
+		vc.prescrollMode = PrescrollMode.InViewDidLayoutSubviewsWithFlag
 		self.navigationController?.pushViewController(vc, animated: true)
 	}
 
+}
+
+enum PrescrollMode : Int {
+	case InViewWillAppear
+	case InViewDidAppearAnimated
+	case InViewDidLayoutSubviewsWithFlag
 }
 
 class PrescrollDemoViewController : UITableViewController {

		
	}
	
	override func numberOfSectionsInTableView(tableView: UITableView) -> Int {
		return 1
	}

		]
	}()
	let BasicLabelCellId = "BasicLabelCellId"
	var prescrollMode:PrescrollMode?
	var shouldPrescroll = false
	var rowToPrescrollTo:Int?
	
	override func viewDidLoad() {
		super.viewDidLoad()
