码迷,mamicode.com
首页 >  
搜索关键字:appdelegate    ( 1028个结果
iOS 设置导航栏之二(设置导航栏的颜色、文字的颜色、左边按钮的文字及颜色)
#import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window;@end#import "AppDelegate.h"#import "KeyViewCo...
分类:移动开发   时间:2015-12-25 16:32:24    阅读次数:191
iOS 设置导航栏的颜色和导航栏上文字的颜色
#import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window;@end#import "AppDelegate.h"#import "KeyViewCon...
分类:移动开发   时间:2015-12-25 15:11:47    阅读次数:172
本地通知 LocalNotification
本地通知 LocalNotification在Appdelegate中实现以下两个方法- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOption...
分类:其他好文   时间:2015-12-23 22:37:31    阅读次数:259
项目中AppDelegate详解
项目中AppDelegate详解1.AppDelegate.h//模板默认引入程序需要使用“类”的框架,即UIKit.h头文件,使它包含在程序中#import//此处@class声明程序中的“类”名称为MyViewController@classMyViewController;//此处@inter...
分类:移动开发   时间:2015-12-23 19:49:44    阅读次数:214
视图控制器的View创建方式
UIViewContrller 有三种创建方式:1.通过alloc init直接创建。2.通过故事版创建。3.通过xib文件描述。这是appDelegate.m的内容 //window的颜色是绿色 self.window = [[UIWindow alloc]initWithFrame:[U...
分类:其他好文   时间:2015-12-19 20:29:51    阅读次数:229
swift 代码创建UITableView以及部分swift的讲解
1.swift创建TableView 本例子中 两个类 viewController 和SecondViewController2.在AppDelegate创建导航条,初始化跟视图代码如图1 func application(application: UIApplication, didFi...
分类:编程语言   时间:2015-12-19 14:57:34    阅读次数:232
利用pre平台实现iOS应用程序自动更新
1 // 2 // AppDelegate.m 3 // PreAutoUpdateDemo 4 // 5 // Created by mac on 15/12/18. 6 // Copyright © 2015年 mac. All rights reserved. 7 //...
分类:移动开发   时间:2015-12-18 20:34:52    阅读次数:223
ios实现屏幕旋转的方法
1、屏蔽AppDelegate下面的屏幕旋转方法#pragma mark - 屏幕旋转的//- (UIInterfaceOrientationMask)application:(UIApplication*)application supportedInterfaceOrientationsForW...
分类:移动开发   时间:2015-12-16 18:52:38    阅读次数:253
点击空白处回收键盘
一: 效果图效果描述:点击空白处快速回收键盘 二: 工程图三:代码区AppDelegate.h#import @interface AppDelegate : UIResponder @property (retain, nonatomic) UIWindow *window;@endAppDele...
分类:其他好文   时间:2015-12-16 17:18:02    阅读次数:214
小谈iOS屏幕适配问题
首先,我么我们要观察一下5,6和6Plus的尺寸比例关系。发现了他们的关系后待会做兼容就明白了。很明显能看出这三种屏幕的尺寸宽高比是差不多的,因此可以在5的基础上,按比例放大来兼容6和6Plus的屏幕。在AppDelegate.h中12@propertyfloatautoSizeScaleX;@pr...
分类:移动开发   时间:2015-12-16 17:17:23    阅读次数:1266
1028条   上一页 1 ... 32 33 34 35 36 ... 103 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!