上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 98 下一页
摘要: 阅读全文
posted @ 2013-10-14 15:05 路在脚下, 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-10-14 11:10 路在脚下, 阅读(134) 评论(0) 推荐(0) 编辑
摘要: if (SharedAppDelegate.userInfo.userID == focusFansInfo.idNumber) { HomeViewController *controller; for (NSObject *obj inself.navigationController.viewControllers) { if ([obj isKindOfClass:[HomeViewController class]]) { controller = (HomeViewController *)obj; [self.navigation... 阅读全文
posted @ 2013-10-12 18:22 路在脚下, 阅读(157) 评论(0) 推荐(0) 编辑
摘要: //监听字数变化- (IBAction)editingChange:(UITextField *)textField{ NSString *nickName; switch (textField.tag) { case 10: { if (textField.markedTextRange) { break; } nickName = [textField.textstringByTrimmingCharactersInSet:[NSCharacterSetwhitespaceAndNewlineCharacterSet]]; ... 阅读全文
posted @ 2013-10-12 16:08 路在脚下, 阅读(1483) 评论(0) 推荐(0) 编辑
摘要: if ( placeHolderLabel == nil ) { placeHolderLabel = [[UILabel alloc] initWithFrame:CGRectMake(8,8,self.bounds.size.width - 16,0)]; placeHolderLabel.lineBreakMode = UILineBreakModeWordWrap; placeHolderLabel.numberOfLines = 0; placeHolderLabel.font = self.font; placeHolderL... 阅读全文
posted @ 2013-10-11 18:07 路在脚下, 阅读(245) 评论(0) 推荐(0) 编辑
摘要: bounds 大 ,左上角,bounds小,局中间, 阅读全文
posted @ 2013-10-11 17:04 路在脚下, 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-10-11 14:14 路在脚下, 阅读(110) 评论(0) 推荐(0) 编辑
摘要: UIScreen(屏幕),UIWindow(窗口),UIView(视图)是IOS的几个基本界面元素。其中UIWindow(窗口)和UIView(视图)是为iPhone应用程序构造用户界面的可视组件。UIWindow为内容显示提供背景平台,UIView负责绝大部分的内容描画,并负责响应用户的交互。1,UIScreenUIScreen类代表了屏幕,根据特酷吧的理解,UIScreen一般也只是用来获取屏幕大小。如下例所示:CGrect screenBounds = [[UIScreen mainScreen] bounds];//返回的是带有状态栏的Rect (0.0,0.0,320.0,480.0 阅读全文
posted @ 2013-10-11 09:47 路在脚下, 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 模块:我的主页,2013,10,11:1,适配 ios sdk 7.0,(预计一个上午) be doing方案:第一次 运行 生生的调了 window的 frame orginy = 20,在 baseviewcontroller 里面 相对 CGRect screen = [[UIScreen mainScreen] bounds]; ,调了 navigationcontroller的view的frame,和 普通controller 的view的frame, 都是 下调了20, [self.window.rootViewControllerdismissModalViewControlle 阅读全文
posted @ 2013-10-11 09:02 路在脚下, 阅读(218) 评论(0) 推荐(0) 编辑
摘要: if (!self.userInfo) { [self showLogin:NO]; }else{ [self loadUserInfo];//获取用户信息 } [self.window makeKeyAndVisible]; 阅读全文
posted @ 2013-10-10 15:05 路在脚下, 阅读(124) 评论(0) 推荐(0) 编辑
上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 98 下一页