• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
A Developer's Expedition
敏而好学、孜孜不倦、TOP10
博客园 首页 新随笔 订阅 订阅 管理

随笔分类 -  IOS

 
textFieldShouldReturn 键盘无法消失 无法return的问题
摘要:作为新手可能会遇到textFieldShouldReturn函数写了,但是按键到return无法让键盘消失\n这是因为你的文本框没有添加委托。\n添加委托的方法,右键文本框,把outlets下的+拉到file's owner(一个透视的正方体)上就可以了。或者在加载事件中添加txtLength.delegate=self; 阅读全文
posted @ 2012-12-23 15:42 Livermore.S 阅读(5054) 评论(1) 推荐(0)
IOS DEVELOP FOR DUMMIES
摘要:In this chapter, we’re going to write a slightly more complex application—one that will feature two buttons as well as a label 这个章节,我们要写个稍微有点点复杂的应用程序,用于控制两个按钮和标签的。 Creating Our Project Launch Xcode ... 阅读全文
posted @ 2012-04-22 22:23 Livermore.S 阅读(405) 评论(0) 推荐(0)
loaded some nib but the view outlet was not set
摘要:当使用 initWithNibName 函数, 并使用 由nib文件生成的ViewController 的view属性时候,遇到这个问题。 //load loc.xib UIViewController * UIVC = [[UIViewController alloc] initWithNibName:@"loc" bundle:nil]; [self.view addSubview:UIVC... 阅读全文
posted @ 2012-04-20 21:38 Livermore.S 阅读(21987) 评论(4) 推荐(4)
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3