
iOS
thebesttome
i can i do it
展开
-
iphone一些常识,去掉StatusBar,横屏,重力感应,主动切换反正,开机画面横屏,开机画面横屏。
http://www.cnblogs.com/APTX4869/archive/2011/02/24/1963527.html 1,去掉StatusBar 在info.plist添加UIStatusBarHidden设置Boolean,设置为YES. 2,横屏 持续在info.list中添加UIInterfaceOrientation 设置UIInterfaceOrie转载 2012-07-29 21:24:02 · 872 阅读 · 0 评论 -
iOS开发:自定义UITableViewCell
转帖:http://my.oschina.net/plumsoft/blog/51723 篇文章介绍了如何用UITableView显示表格,并讲了几种UITableViewCell的风格。不过有时候我们需要自己定义UITableViewCell的风格,其实就是向行中添加子视图。添加子视图的方法主要有两种:使用代码以及从.xib文件加载。当然后一种方法比较直观。 我们这次要自定义一个Ce转载 2012-07-29 21:13:30 · 2819 阅读 · 0 评论 -
xcode "nib but the view outlet was not set."错误
原帖:http://blog.youkuaiyun.com/startexcel/article/details/7211292 xib 中, 没有对File's Owner 的Outlets view 进行绑定, 导致在父视图中插入子视图时出错, 在IB中拖拽Files' Owner到view, 添加绑定后, 运行成功! 总结一下创建视图和绑定的步骤: 1. 创建控制器. File->New File转载 2012-07-29 21:15:04 · 20060 阅读 · 2 评论 -
网络等待indicator的界面设置
UIWebView加载Loading...两种方法 第一种方法:使用UIView and UIActivityIndicatorView //创建UIWebView WebView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 44, 320, 400)]; [WebView setUserInteractionE转载 2012-07-29 21:21:35 · 702 阅读 · 0 评论 -
iPhone入门 - UIAlertView用法
http://hi.baidu.com/richiechyi/item/e2aa2f714996f012d0dcb39a 1. 最简单的用法 UIAlertView*alert = [[UIAlertView alloc]initWithTitle:@"提示" mes转载 2012-07-29 21:25:41 · 859 阅读 · 0 评论