URL Scheme to open specific View with data

我是研究僧i 提交于 2019-12-24 12:35:04

问题


I've been looking around and could not find anything I was wondering if anyone could point me to a tutorial or help me out with the following:

I am making an app and want to be able to share on Twitter and when the twitter user clicks on the link (myapp://u/userId or myapp://s/objectId) it opens and specific View Controller ("/u/" for user and "/s/" for items)

I don't know if its possible or my "logic" is not correct, I am thinking that when the url is /u/ it opens the user view and then I can use the userId after the /u/ to PFQuery for the user, and same logic with the items and /s/...

Any help would be greatly appreciated!

来源:https://stackoverflow.com/questions/22884909/url-scheme-to-open-specific-view-with-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!