RootViewController *rootVC=[[RootViewController
alloc] init] SignInViewController *signVC = [[SignInViewController alloc]init];
//如果在这里指定ta...
分类:
移动开发 时间:
2014-05-16 07:02:10
阅读次数:
396
使用MapKit框架地图显示最简单显示地图的代码:////
RootViewController.m// CoreLocation//// Copyright (c) 2014年 Y.X. All rights
reserved.//#import "RootViewController.h"...
分类:
其他好文 时间:
2014-05-15 14:25:56
阅读次数:
411
#import "RootViewController.h"@interface
RootViewController ()@end@implementation RootViewController{ UILabel
*txtInteger; UILabel *txtFloat; ...
分类:
其他好文 时间:
2014-05-07 19:59:59
阅读次数:
461
在RootViewController.m文件中-
(void)viewDidLoad//视图加载方法- (void)viewDidLoad{ //设置红色 UIView *viewRed = [[UIView
alloc]initWithFrame:CGRectMake(100...
分类:
移动开发 时间:
2014-05-07 19:30:16
阅读次数:
414
首先平台的搭建和前面是一样的,创建好根视图
接下来新建一个类即视图是UIView类型命名为MyView 在RootViewController.h文件中导入MyView的头文件
在RootViewController.m文件中- (void)viewDidLoad{ //因为Root...
分类:
移动开发 时间:
2014-05-07 01:15:37
阅读次数:
464
1.RootViewController.m#import
"RootViewController.h"#define URL
@"http://localhost:8080/TestOne/upload3.jsp"@implementation RootViewController-
(void)...
分类:
Web程序 时间:
2014-05-01 14:43:52
阅读次数:
541
在ios6以后,ios系统改变了屏幕旋转的方法,如果要设置屏幕旋转的方法,需要在rootvc里面进行编写,例如
UIViewController *viewCtrl = [[UIViewController alloc] init];
UINavigationController *navCtrl = [[UINavigationController alloc] initWithRoot...
分类:
其他好文 时间:
2014-04-30 22:24:39
阅读次数:
254
#import "RootViewController.h"@interface
RootViewController ()@end@implementation RootViewController-
(id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:
移动开发 时间:
2014-04-28 17:25:33
阅读次数:
629
#import "RootViewController.h"@interface
RootViewController ()@end@implementation RootViewController-
(id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:
移动开发 时间:
2014-04-28 17:19:46
阅读次数:
596
#import "RootViewController.h"@interface
RootViewController ()@end@implementation RootViewController-
(id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:
移动开发 时间:
2014-04-28 15:11:25
阅读次数:
656