![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS
worldlight
这个作者很懒,什么都没留下…
展开
-
iphone应用程序本地化
iPhone的应用程序名称也可以本地化,可以按照以下步骤来实施: 1. 修改项目目录下的’ -info.plist’文件名 将’ -info.plist’ 修改为 Info.plist 2. 将Info.plist本地化 在Info.plist上右键点选Get Info,在General标签下,点击Make File Localizable按钮。 里面会有一个默认的英文版本,点击转载 2012-12-25 00:26:39 · 462 阅读 · 0 评论 -
UIApplication sharedApplication详细解释-IOS
iPhone应用程序是由主函数main启动,它负责调用UIApplicationMain函数,该函数的形式如下所示: int UIApplicationMain ( int argc, char *argv[], NSString *principalClassName, NSString *delegateClassName ); 那么UIApplicationMai转载 2012-12-29 12:31:11 · 435 阅读 · 0 评论 -
iOS设置背景图片
//转自http://laiguowei2004.blog.163.com/blog/static/36829000201262710191770/ 1. 使用一个UIImageView实例做子视图,并且放最后面 UIImageView *customBackgournd = [UIImageView alloc] initWithImage:[UIImage imageNamed:@"b转载 2012-12-31 20:41:45 · 1817 阅读 · 0 评论 -
iOS手势
转自http://blog.csdn.net/likendsl/article/details/7554150 这哥们很厉害的 一、概述 iPhone中处理触摸屏的操作,在3.2之前是主要使用的是由UIResponder而来的如下4种方式: - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event -转载 2012-12-31 20:33:22 · 535 阅读 · 0 评论 -
隐藏键盘方法
指定文本框代理 - (void)viewDidLoad { [ super viewDidLoad]; txt.delegate = self; } 按回车隐藏键盘 - (BOOL)textFieldShouldReturn:(UITextField *)textField { [textField resignFirstResponde原创 2012-12-20 16:41:51 · 508 阅读 · 0 评论 -
uitouch用法
http://blog.sina.com.cn/s/blog_661314940100og3b.html 前面写了几次提到UITouch,也提到了UITouch的三个代理方法 - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; - (void)touchesMoved:(NSSet *)tou转载 2012-12-21 15:19:14 · 748 阅读 · 0 评论