在在支付宝中类似高德地图,共享单车之类的都可以直接添加一个快捷方式到桌面,点击快捷方式会调起支付宝,然后进入相应的页面。
本文就是 讲在ios 原生页面以及 html页面的相关代码以及配置信息
html
首先 由于ios的跳转是通过safari浏览器跳转的,所以我们先要准备一份html文件,然后你需要 自己把该html文件放到服务器上
<!DOCTYPE html>
<html>
<head>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta content="text/html charset=UTF-8" http-equiv="Content-Type" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no" />
//此处为 base64格式的图片
<link rel='apple-touch-icon' href='data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAcFBQYFBAcGBgYIBwcICxILCwoKCxYPEA0SGhYbGhkWGRgcICgiHB4mHhgZIzAkJiorLS4tGyIyNTEsNSgsLSz/2wBDAQcICAsJCxULCxUsHRkdLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCz/wAARCAC0ALQDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eH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3ZzcJHHWrkfKjvVSDkA+1Wo8e9caOgtRkAetTqfyquvHFTKccVaEydWxUgOeMGokPNSA4PWtUQOHHrWD41sri98J3P2QL9qgaO4iJO0Bo3D9e3ANbwz6Vl+Kra4vPCGrW1oXFxLaSKm1dxyVPAHrTW4jJ+GloIfA9pcbzJLevJdyMzZYs7E8n1xgfhXXgVxfhLxJ4bsPD+n6XHf29nLFCqtBcZhffj5vlfBJzmuri1C1njDR3ELg91cEU2tRWOD1FNaf4yWot2lt7c26HchXy5rdCTIG77t7qB9c16JjmuVurmOD4ladvI/0rTpoojnjcroxH5fyrp/MTHLDH1qxM5nxdIml6pouvPIEitrj7LNnoI5sLn8GCH86b4LgW6fVfERzv1e5Ypk/8sY8pHj6gE/jS+PL7SH8G6paX09s7y27rDCzKXeTadm1epOcYxW7otp9h0KxtfJWHyYETy16KQo4FAi0R6D8aTB9akOcU0mkCsRkGjGRT+vak+lILIZ360bjTiARzSHApisGP/1UmKcM4pDmkVYOPSikIPvRQOxzcIyv0qynSiiuRG5bi5YCrCdBRRViJk55pynKiiitEQx4GBTs80UUxI5TUrG11X4lWdtewR3ENtp0lwiSKGXezqhJB68D9TWhL4J8M3B3SaFYZJ5IgVf5CiimSiJ/h34Wllgm/smFHt23LsyueCMHHUe1WrrwP4auowsuj22P9hNn8sUUVSE9znotA0nRPippsen6dbW6y6bMWCxjqrpg/XkjNd2SaKKroJjaAKKKQxjHBHFBoooGthGGCBSEdqKKRIo6CnACiil1GG0UUUVQj//Z'>
<title>我的应用</title>
</head>
<body>
<a href="blueNews+://type=blueNews&id=1111112" id="qbt" style="display:none"></a>
<div id="msg">1</div>
<script type="text/javascript">
//此处 及其重要(下面的一段html应该 Encode to URL encoded format)转为 url格式的填入下面
window.location.href = 'data:text/html;charset=utf-8,%3C%21DOCTYPE%20html%3E%0D%0A%3Chtml%3E%0D%0A%3Chead%3E%0D%0A%20%20%20%20%3Cmeta%20name%3D%22apple-mobile-web-app-capable%22%20content%3D%22yes%22%3E%0D%0A%20%20%20%20%3Cmeta%20name%3D%22apple-mobile-web-app-status-bar-style%22%20content%3D%22black%22%3E%0D%0A%20%20%20%20%3Cmeta%20content%3D%22text%2Fhtml%20charset%3DUTF-8%22%20http-equiv%3D%22Content-Type%22%20%2F%3E%0D%0A%20%20%20%20%3Cmeta%20name%3D%22viewport%22%20content%3D%22width%3Ddevice-width%2Cinitial-scale%3D1.0%2Cuser-scalable%3Dno%22%20%2F%3E%0D%0A%20%20%20%20%3Clink%20rel%3D%27apple-touch-icon%27%20href%3D%27data%3Aimage%2Fjpeg%3Bbase64%2C%2F9j%2F4AAQSkZJRgABAQEASABIAAD%2F2wBDAAcFBQYFBAcGBgYIBwcICxILCwoKCxYPEA0SGhYbGhkWGRgcICgiHB4mHhgZIzAkJiorLS4tGyIyNTEsNSgsLSz%2F2wBDAQcICAsJCxULCxUsHRkdLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCz%2FwAARCAC0ALQDASIAAhEBAxEB%2F8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL%2F8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4%2BTl5ufo6erx8vP09fb3%2BPn6%2F8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL%2F8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZ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3B3SaFYZJ5IgVf5CiimSiJ%2Fh34Wllgm%2FsmFHt23LsyueCMHHUe1WrrwP4auowsuj22P9hNn8sUUVSE9znotA0nRPippsen6dbW6y6bMWCxjqrpg%2FXkjNd2SaKKroJjaAKKKQxjHBHFBoooGthGGCBSEdqKKRIo6CnACiil1GG0UUUVQj%2F%2FZ%27%3E%0D%0A%20%20%20%20%3Ctitle%3E%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8%3C%2Ftitle%3E%0D%0A%3C%2Fhead%3E%0D%0A%3Cbody%3E%0D%0A%20%20%20%20%3Ca%20href%3D%22addicon%3A%2F%2F%22%20id%3D%22qbt%22%20style%3D%22display%3Anone%22%3E%3C%2Fa%3E%0D%0A%20%20%20%20%3Cspan%20id%3D%22msg%22%3E%3C%2Fspan%3E%0D%0A%3C%2Fbody%3E%0D%0A%3Cscript%3E%0D%0A%20%20%20%20if%20%28window.navigator.standalone%20%3D%3D%20true%29%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20var%20lnk%20%3D%20document.getElementById%28%22qbt%22%29.click%28%29%3B%0D%0A%20%20%20%20%7D%0D%0A%20%20%20%20else%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20document.getElementById%28%22msg%22%29.innerHTML%3D%27%3Cdiv%20style%3D%22font-size%3A12px%22%3E%E8%BF%99%E9%87%8C%E5%8F%AF%E4%BB%A5%E6%B7%BB%E5%8A%A0%E5%BC%95%E5%AF%BC%E9%A1%B5%E9%9D%A2%3C%2Fdiv%3E%27%3B%0D%0A%20%20%20%20%7D%0D%0A%0D%0A%0D%0A%3C%2Fscript%3E%0D%0A%3C%2Fhtml%3E%0D%0A%0D%0A';
</script>
</body>
</html>
需要转码的html
<!DOCTYPE html>
<html>
<head>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta content="text/html charset=UTF-8" http-equiv="Content-Type" />
<meta name="viewport" content="width=device-width,initial-scale=1.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0rTpoojnjcroxH5fyrp/MTHLDH1qxM5nxdIml6pouvPIEitrj7LNnoI5sLn8GCH86b4LgW6fVfERzv1e5Ypk/8sY8pHj6gE/jS+PL7SH8G6paX09s7y27rDCzKXeTadm1epOcYxW7otp9h0KxtfJWHyYETy16KQo4FAi0R6D8aTB9akOcU0mkCsRkGjGRT+vak+lILIZ360bjTiARzSHApisGP/1UmKcM4pDmkVYOPSikIPvRQOxzcIyv0qynSiiuRG5bi5YCrCdBRRViJk55pynKiiitEQx4GBTs80UUxI5TUrG11X4lWdtewR3ENtp0lwiSKGXezqhJB68D9TWhL4J8M3B3SaFYZJ5IgVf5CiimSiJ/h34Wllgm/smFHt23LsyueCMHHUe1WrrwP4auowsuj22P9hNn8sUUVSE9znotA0nRPippsen6dbW6y6bMWCxjqrpg/XkjNd2SaKKroJjaAKKKQxjHBHFBoooGthGGCBSEdqKKRIo6CnACiil1GG0UUUVQj//Z'>
<title>我的应用</title>
</head>
<body>
<a href="blueNews://-2022152-blueNews-萧山" id="qbt" style="display:none"></a>
<span id="msg">我的应用</span>
</body>
<script>
if (window.navigator.standalone == true)
{
var lnk = document.getElementById("qbt").click();
}
else
{
document.getElementById("msg").innerHTML='<div style="font-size:12px">这里可以添加引导页面</div>';
}
</script>
</html>
上面的这段html经过 Encode to URL encoded format
变为
%3C%21DOCTYPE%20html%3E%0A%3Chtml%3E%0A%3Chead%3E%0A%20%20%20%20%3Cmeta%20name%3D%22apple-mobile-web-app-capable%22%20content%3D%22yes%22%3E%0A%20%20%20%20%3Cmeta%20name%3D%22apple-mobile-web-app-status-bar-style%22%20content%3D%22black%22%3E%0A%20%20%20%20%3Cmeta%20content%3D%22text%2Fhtml%20charset%3DUTF-8%22%20http-equiv%3D%22Content-Type%22%20%2F%3E%0A%20%20%20%20%3Cmeta%20name%3D%22viewport%22%20content%3D%22width%3Ddevice-width%2Cinitial-scale%3D1.0%2Cuser-scalable%3Dno%22%20%2F%3E%0A%20%20%20%20%3Clink%20rel%3D%27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%E7%9A%84%E5%BA%94%E7%94%A8%3C%2Ftitle%3E%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A%20%20%20%20%3Ca%20href%3D%22blueNews%3A%2F%2F-2022152-blueNews-%E8%90%A7%E5%B1%B1%22%20id%3D%22qbt%22%20style%3D%22display%3Anone%22%3E%3C%2Fa%3E%0A%20%20%20%20%3Cspan%20id%3D%22msg%22%3E%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8%3C%2Fspan%3E%0A%3C%2Fbody%3E%0A%3Cscript%3E%0A%20%20%20%20if%20%28window.navigator.standalone%20%3D%3D%20true%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20var%20lnk%20%3D%20document.getElementById%28%22qbt%22%29.click%28%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20else%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20document.getElementById%28%22msg%22%29.innerHTML%3D%27%3Cdiv%20style%3D%22font-size%3A12px%22%3E%E8%BF%99%E9%87%8C%E5%8F%AF%E4%BB%A5%E6%B7%BB%E5%8A%A0%E5%BC%95%E5%AF%BC%E9%A1%B5%E9%9D%A2%3C%2Fdiv%3E%27%3B%0A%20%20%20%20%7D%0A%3C%2Fscript%3E%0A%3C%2Fhtml%3E
然后填入及其重要的那段里面
iOS文件
info
info填入需要调起的boundle id原生代码模块
#import "AppDelegate.h"
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
return YES;
}
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options {
NSLog(@"---url:%@",url);
NSString *addURL = [NSString stringWithFormat:@"%@", url];
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults setObject:addURL forKey:@"loadAppActiviteUrl"];
[defaults synchronize];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
}
- (void)applicationDidEnterBackground:(UIApplication *)application {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application {
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
@end
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
UIButton *addButton = [[UIButton alloc] initWithFrame:CGRectMake(self.view.frame.size.width /2 - 40, 200, 80, 30)];
addButton.backgroundColor = [UIColor redColor];
[addButton setTitle:@"点击" forState:(UIControlStateNormal)];
[addButton addTarget:self action:@selector(addToMainScreen) forControlEvents:(UIControlEventTouchUpInside)];
[self.view addSubview:addButton];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(alertView) name:UIApplicationDidBecomeActiveNotification object:nil];
}
- (void)alertView{
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSString *loadAppActiviteUrl = [defaults objectForKey:@"loadAppActiviteUrl"];
if (loadAppActiviteUrl.length != 0) {
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:loadAppActiviteUrl message:nil preferredStyle:(UIAlertControllerStyleAlert)];
UIAlertAction *cancleAction = [UIAlertAction actionWithTitle:@"好的" style:(UIAlertActionStyleCancel) handler:nil];
[alertController addAction:cancleAction];
[self presentViewController:alertController animated:YES completion:nil];
//移除url
[defaults removeObjectForKey:@"loadAppActiviteUrl"];
[defaults synchronize];
}
}
- (void)addToMainScreen{
//此处调起html文件,
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://10.200.34.80:8000"] options:@{} completionHandler:^(BOOL success) {
}];
}
- (void)dealloc
{
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidBecomeActiveNotification object:nil];
}
@end