uber / uber-ios-sdk

Uber iOS SDK (beta)
https://developer.uber.com/docs
MIT License
375 stars 125 forks source link

Loading feedback aside the error handling #39

Open saintjab opened 8 years ago

saintjab commented 8 years ago

Hi, I am using the RideRequestViewController and have realised sometimes, its takes a little bit before the view fully load. Is there other API calls to check for loading progress? I want to be able to show an ActivityIndicator while the view this loading so users don't think the app is frozen. Anyway to do that? Thanks

jbrophy17 commented 8 years ago

Hi @saintjab, unfortunately it is not currently possible to check the loading progress while using the RideRequestViewController. We would like to support this in the future, however.

saintjab commented 8 years ago

@jbrophy17, thanks for getting back and for adding that to the enhancement. In your opinion, what is the best way for me to handle such so users don't think the app is frozen?

jbrophy17 commented 8 years ago

@saintjab there isn't currently a great solution. The widget itself has some loading animation but that does take a little bit to load sometimes. A good solution is going to require exposing some signals from the RideRequestView's underlying webview