Rails: redirect_to 'myapp://' to call iOS app from mobile safari

前端 未结 1 464
野的像风
野的像风 2020-12-10 10:01

I have a native iOS app that can be called from Mobile Safari in iOS via myiosapp://. I also have a simple Rails app that SHOULD redirect to the native app when

1条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-10 10:39

    Turns out there's a simple solution that is enough for the context of my app as of the moment. I just needed to handle the redirect in javascript. Other solutions are still welcome. :)

    
        
      
      
        Some html page
      
    
    

    0 讨论(0)
提交回复
热议问题