设置几个类
AppDelegate
LTView
RootViewController
LoginViewController
RegistViewController
PasswordViewControllerAppDelegate.mapplication中
// 设置一个UIViewController
RootViewController *rootVC=[[RootViewC...
分类:
其他好文 时间:
2015-08-06 22:26:34
阅读次数:
236
这个问题是uibutton跟tableviewcell同步使用一个bug,不关delay一点毛事,证据就是点击事件没问题,so,搜到一个方法解决了这个问题。uibutton分类symbian2+ios4 15:51:46子类@implementation Mybutton/*// Only ove....
分类:
其他好文 时间:
2015-08-06 16:35:45
阅读次数:
145
UIButton是一个常用控件,使用方法十分基本,但是有很多技巧常常不被注意,本文主要介绍UIButton的一些较高级技巧,用于实现图片和标签显示的美观性等。
开发时常常碰到按钮的下侧或者右侧有标题的情况,如下图所示:
左侧的是上下结构,右侧的是左右结构,要实现这两种显示,有两种方法。
【按钮的内部控件】
首先我们要了解按钮内部有imageView和titleLabel两个控...
分类:
其他好文 时间:
2015-08-06 00:34:14
阅读次数:
106
1.Grand Central Dispatch --- GCD单次执行 --- 程序执行期间之执行一次- (IBAction)GCD_onceDidClicked:(UIButton *)sender { static dispatch_once_t onceToken; d...
分类:
编程语言 时间:
2015-08-04 22:30:31
阅读次数:
158
可以将UIButton 与 UITextField 结合起来使用, 产生如下图的效果.
// 新建一个Button
UIButton *button = [UIButton buttonWithType:UIButtonTypeSystem];
button.frame = CGRectMake(100, 300, 50, 50);
button.backgroundC...
分类:
其他好文 时间:
2015-08-04 00:49:37
阅读次数:
156
1 1、UIButton->UIView 按钮 2 /************UIButton-System(文字样式)**********/ 3 //按钮实例化方式:类方法创建 4 /* 5 1、UIButtonTypeSystem=UIBu...
分类:
其他好文 时间:
2015-08-04 00:09:29
阅读次数:
144
完成登陆系统(登陆、注册、找回密码),使用容器视图控制器实现。
定义容器视图控制器ContainerViewController,指定为window的根视图控制器。
定义LoginViewController、RegistViewController、PasswordViewController,三个视图控制器的根视图添加到容器视图控制器的根视图。
//
// AppDelegate.m
//...
分类:
移动开发 时间:
2015-08-03 08:58:44
阅读次数:
238
发现我们的应用 iOS7.1 编译后 UISearchBar 背景色是黑色下图为正常效果(凹进去的搜索框并不是 UISearchBar 背景图片,而是一个 UIButton )效果是点击后隐藏 UIButton 展开 UISearchBariOS7.1 编译后的效果尝试修改barTintColor ...
分类:
移动开发 时间:
2015-08-03 01:06:56
阅读次数:
915
/** cell上的付款按钮事件 */- (IBAction)paymentButtonClick:(UIButton *)sender { /** * @author SongXing, 15-07-31 10:07:26 * * 7、8系统上cell的父类关系不...
分类:
其他好文 时间:
2015-07-31 12:53:29
阅读次数:
108
//
// AppDelegate.m
// UI02作业
//
// Created by dllo on 15/7/30.
// Copyright (c) 2015年 zhozhicheng. All rights reserved.
//
#import "AppDelegate.h"
@interface
...
分类:
移动开发 时间:
2015-07-31 10:50:16
阅读次数:
114