Magic Studio

专心做有逼格的APP!

2011年11月22日 #

Modal View Controller Example – Part 2[转]

摘要: n the first part of this tutorial, we set up a pair of simple views in Interface Builder that we switched between modally. In this tutorial, we’ll make them somewhat useful and pass data between them using delegates. The concept of protocols and delegates is an important and somewhat complex... 阅读全文

posted @ 2011-11-22 20:59 Mr 布鲁斯 阅读(245) 评论(0) 推荐(0) 编辑

Modal View Controller Example[转]

摘要: In your iPhone app, you’ll probably be spending most of the time pushing new view controllers to the stack in order to show screen flow. Sometimes, though, you just want to popup a screen for quick display or input. Here’s a quick demo/tutorial on the different standard modal views offered b... 阅读全文

posted @ 2011-11-22 18:35 Mr 布鲁斯 阅读(377) 评论(0) 推荐(0) 编辑

UIWebView without a .xib Objective-C[转]

摘要: Add a UIWebView programmatically without using a .xib file. This goes in the views controller. Original from http://www.gibsontang.com/?p=176 (Big thanks man!) - (void) initUIWebView { NSLog(@”DetailViewController->initUIWebView {“); UIWebView *aWebView; // init and create the UIWebView aWeb... 阅读全文

posted @ 2011-11-22 15:44 Mr 布鲁斯 阅读(245) 评论(0) 推荐(0) 编辑

导航