1.首先在Info->URL Types 的 URL Schemes下写入本应用程序名,如:ProjectOne
2.跳转到该程序(并传递参数)
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:[@"ProjectOne://" stringByAppendingString:_myTextField.text]]];
时间: 2024-12-31 02:34:42
1.首先在Info->URL Types 的 URL Schemes下写入本应用程序名,如:ProjectOne
2.跳转到该程序(并传递参数)
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:[@"ProjectOne://" stringByAppendingString:_myTextField.text]]];