=====工程A=====
0.
1.Add
2.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
- BOOL )application:(UIApplication*)application NSURL *)url { //处理传递过来的参数 UIAlertView*alertView; NSString *text= NSUTF8StringEncoding ]; alertView= "Text" message:text delegate: nil cancelButtonTitle:@ "OK" otherButtonTitles: nil ]; [alertViewshow]; [alertViewrelease]; return YES ; } |
====工程B=====
3.
1
|
|
4.
B启动->A启动->A弹出Alert:
另外:
0.
1.
2.
3.