????????????
????ios??????????main.m?????????
????????????????????????????????????????????????????????????ios?????????????main.m???????main???????????????????У?
????#import <UIKit/UIKit.h>
????#import "AppDelegate.h"
????int main(int argc?? char * argv[]) {
????@autoreleasepool {
????return UIApplicationMain(argc?? argv?? nil?? NSStringFromClass([AppDelegate class]));
????}
????}
?????????????????main?????appdelegate???????????????????????????????????ios?????????????????????????????????????
#import "AppDelegate.h"
#import "ViewController.h"
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
_window=[[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
ViewController *friendController=[[ViewController alloc]init];
UINavigationController *navigationController=[[UINavigationController alloc]initWithRootViewController:friendController];
_window.rootViewController=navigationController;
[_window makeKeyAndVisible];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application {
}
- (void)applicationDidEnterBackground:(UIApplication *)application {
}
- (void)applicationWillEnterForeground:(UIApplication *)application {
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
}
- (void)applicationWillTerminate:(UIApplication *)application {
}
@end
????????????????????????????????????:ViewController?????????????????????????
????_window.rootViewController=navigationController;
??????????????????android??Context?????????????????????????view???????????????????????view??????????????????????????????????????????????????view???????
????????view
??????????????????ViewController??????android?е?activity??activity?????Activity????ios???????UIViewController???????????????????????????????View????????????android????activity???????
?????????????????£?
????LoginViewController *ickImageViewController = [[LoginViewController alloc] init];
????[self.navigationController pushViewController: ickImageViewController animated:true];
??????push??pop view???????????????漲????view??
???????????
????ios???????android????????????????????????android??????ios???沼?????????
?????????????????????xib?????????????button??????????ios????????е?????ios????????У???????Ч????????????????齨??xy????λ?????????????ó?????
????xib:xib????潫?????android???activity??????????xml????????ios??view??????xib????????ò??????ios????????????android?????????????????Ч???ú????
????Storyboard:????????????????????????????????????????????view??????
?????壩??β
?????e???????????????3?????????Щ???棬????????涪?Щ??????????±????????????????????????????????????????andrid???xmpp??????ios????????
???????????ios???????????????治?????????????????????????????????????????????????
????д????Щ????????