开发者

Get back to square one

开发者 https://www.devze.com 2023-03-30 22:33 出处:网络
In this little app I start out on a tableview. The user clicks one of the cells and a video starts playing.Once the video is finished the view changes to a small test, and when the test is finished I

In this little app I start out on a tableview. The user clicks one of the cells and a video starts playing. Once the video is finished the view changes to a small test, and when the test is finished I do a partial page curl to show the result.

All working great thanks to so many here that has helped out.

Now to the question; On the last page with the result I have a button "Done". I would like once that is clicked go straight back to the first table view 开发者_如何学JAVAso it's ready for the next video. Is it possible?

The button has a IBAction.


if u got a navigation controller managing you app navigation, use popToRoot. If u don't you should add one. It will greatly simplify things.

0

精彩评论

暂无评论...
验证码 换一张
取 消