How can WeChat links be opened with WeChat APP for installed WeChat and Web pages for not installed WeChat

  ios, question

A link shared to WeChat, how to click to open app (installed) and open a customized webpage (not appstore download page) without installation?

There will be a parameter isappinstalled in wechat link to indicate whether app is installed. Take microblog sharing as an example:

As for your requirements, you can use js to get this parameter on the page. For 1, you can open app and jump to the page for 0.