Sign up form with uiwebview form in iOS app - ios

in my iOS application, I want to use UIWebView to create signup page which is hosted on my application server.
I have implemented it and experiment. But, i wonder, what does Apple think about getting information from user or signing up with UIWebView. Can my application be rejected by Apple?

You're going to be fine. Apple will be fine with you allowing users to login through a website within a UIWebView within your application.

Related

How to pass auth from iOS native app to web app?

I have my iOS app and my web app. Say I have n authenticated user in my iOS app and now I want to open a specific page of my web app for this user in a web view.
What is a good practice of doing so? Do I have to implement a special web page that would do the auth check and redirect to the page needed or is there a way to do this just via WKWebView?
Any kind of help is highly appreciated.

Open URL in phone's web browser instead of 3'rd party app's webview

We developed a website in which users can sign in using their google account. This works fine. A lot of people have shared our app link on Instagram.
The problem is, when users of Instagram click on our website link, the ios webview is used (internal browser in Instagram). This prevents people from signing in to our app and are presented the following error:
What's the solution to this?

Facebook oAuth missing Continue button when in-app browser

I have a website which also is accessible from an iOS app using an in-app browser.
When trying to sign up using the iOS browser it takes me to Facebook's login page where I first log into Facebook, then I see the app's icons and statement what Facebook will be accessing and that this doesn't allow the app to post on my Facebook. But the continue-button is missing.
When accessing the same page using a desktop or mobile browser (have tested both Chrome and Safari on mobile), the continue-button is there as it should be.
Screenshot of in-app browser with missing button.
What should I do? :)
Thanks in advance
Edit: Spelling

Google Recaptcha not working in iOS webview

I have a web page that I load in my iPhone app that has a form that sends me feedback. In case someone figures out the website url and accesses the page without using an iPhone, I want to ensure they're not a robot, as advised by my system admin.
When I setup the Google Recaptcha and view it in my iPhone app, the captcha renders in a separate Safari window not the app's webview.
I found this question without an answer:
https://groups.google.com/forum/#!searchin/recaptcha/webview/recaptcha/spLNfrT9nCM/t8aAuDzKBwAJ
My website with the form I want to add the Recaptcha to uses PHP.

Is it possible to call native ios Facebook login dialog from just a web page (not a web app)?

We have an ios app that uses native Facebook login just fine.
Then we also have a website (app is basically an optimized client for it) where people can login via Facebook too. When they open our website in mobile safari, they are directed to Facebook pages to authenticate there and it works, but.. it is still far from native and users have to retype credentials they often have in ios already.
So could it be possible to to somehow launch system fb authentication for just a web page (maybe using some clever URL schema?) and get granted token back to web?
Difficult way
As described here http://aaronparecki.com/articles/2012/07/29/1/oauth2-simplified#mobile-apps you could find URL scheme to trigger the native iOS app for app authorization:
fbauth://authorize?redirect_uri=[redirect_uri]&client_id=[client_id]&response_type=token
But if you call that link it's not possible to have a redirection. You could try to hack that redirection but maybe you could not find a way out.
A secure way to solve that problem is to use a SSO token to authenticate user on your App when he logs in, and next on Safari take a redirection, with a custom url to your APP, that do as bridge to FB App via Token stored in your APP. After FB authentication you can directly redirect user back to your landing page in Safari. As said by #Lego it's an alternative way to direct authenticate that could be made by going deep to custom URL used by FB.
No, it is not yet possible to directly authenticate the user via the native Facebook App, but it's possible to authenticate the user using a custom URL scheme which opens your native iOS app which then handles the authentication flow:
The user authenticates natively with your iOS App. You then store the user login (not password) in your app (i.e. using NSUserDefaults).
Then the user opens your web page in Mobile Safari. You redirect the user via a custom url scheme to your app (i.e. using myapp://authenticate). Apple documentation on implementing custom URL schemes: click
Now, if you have an active FB session in your iOS app, you can either directly redirect the user back to your landing page in Mobile Safari, passing the access token via url get parameter or you first re-authenticate the user, displaying a login view with the user name pre-filled, which you have stored in your iOS app before (step 1) and then redirect the user to your landing page, again all depending on session state and your security needs.
For opening face book app you can use Custom URL scheme. But i am not sure if u can authenticate user from it. In case if you could also then it will be confined up to the fb account which is already configured on that device app .so better try to use face book api or something
I don't get your question exactly but i think as per your question you want to create fb app Login in safari or in your custom web view.
is this perfect ?
as per my knowledge web view is different thing and native app is different thing.
if you are Login in web view then no need to check anything token or other thing because it will give you Logout thing there.
but if you are Login in your application then "developer.facebook.com" will definitely help you.
and yes, you will do most of the thing in your app as native facebook app do.
Hope it help....

Resources