文章分类 - IOS入门
摘要:- (void)viewDidLoad{ [super viewDidLoad]; self.navigationController.navigationBar.tintColor = [UIColor redColor];//改变导航条颜色 ////////////////////工具条按钮/////////////////////// UIBarButtonItem *button1 = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemRef...
阅读全文
摘要:-(id)init{ if(self = [super initWithStyle:UITableViewStylePlain]) { self.title = @"主菜单";//顶部信息 self.navigationItem.prompt = @"导航条信息";//标题 //右边按钮 UIBarButtonItem *rightItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCompose ta...
阅读全文
摘要:-(id)init{ if(self = [super init]) { self.title = @"first"; //self.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"first" image:nil tag:0]; //self.tabBarItem = [[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemBookmarks tag:0]; UITabBarItem *tabBar...
阅读全文
摘要:#import @class AlinViewController;@interface NavigatorDelegate : UIResponder { //UIWindow *win; UINavigationController *rootController;}@property (strong, nonatomic) UIWindow *window;@property (strong, nonatomic) AlinViewController *viewController;@endNavigatorDelegate.h#import "NavigatorDeleg.
阅读全文
摘要:#import @class AlinViewController;@interface MultiPageDelegate : UIResponder { //UIWindow *win; UITabBarController *rootController;}@property (strong, nonatomic) UIWindow *window;@property (strong, nonatomic) AlinViewController *viewController;@endMultiDelegate.h #import "MultiPageDelegate.h&qu
阅读全文
摘要:#import @class AlinViewController;@interface AlinAppDelegate : UIResponder { //UIWindow *win; UIViewController *firstViewController; UIViewController *secondViewController;}@property (strong, nonatomic) UIWindow *window;@property (strong, nonatomic) AlinViewController *viewController;@endAl...
阅读全文
摘要:#import "AlinViewController.h"@interface AlinViewController ()@end@implementation AlinViewController- (void)viewDidLoad{[super viewDidLoad];UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(30, 30, 60, 60)];label.text = @"苹果开发";label.textColor = [UIColor blueColor];[self
阅读全文

浙公网安备 33010602011771号