I have a login-screen.
After the user enters his credentials, he clicks on "Login" to login.
Now in the background with the login there will be a load of a few things, so it need around 3 seconds to display the next view.
How to solve that the screen is not freezing within this 3 seconds?
I had the idea to solve this by a loading screen (Typical for iPhone Apps) or shange the clicked button to "Try to Login...", so the user is not only thinking "has my click worked or should I click again"...
I hope its understandable...
Whats to do?
I suggest to use MBProgressHUD its show an indicator with label if you want like "loading" for example and disable the user action on the view also its easy to use and has a good/simple interface.
you can find it on this link
Related
I want to implement hints for the users who are going to visit my App for the first time. And when the users click on that a popup would appear like my screenshot which I have attached and explain the users about it. Any idea how to handle this.
We have Urban Airship integrated in our app, and some pushes determine a landing page is displayed to the user when the app is opened.
This landing has a button that will usually trigger a deeplink, taking the user to a specific flow within the app.
The problem is that, when doing so, the landing page banner is NOT being dismissed. The deeplink works properly, but the banner is still shown above everything else, forcing the user to close it with the upper-right close button.
Any ideas on why this might be happening? Did somebody run into this issue? We are not doing anything on our end to handle this behaviour as I understand it should be automatic.
Thanks in advance for any tips you might throw our way ;)
Are you using one of the templates? There is a checkbox "close after action" that needs to be checked:
If you are using a custom template, call UAirship.close() after running the action.
After implementing Facebook login with success in iOS, I need now to call the loginUI only when the user click on the login button. I do not know the right place in my code to call the openSessionWithAllowLoginUI method. I have placed it at viewDidLoad, but it calls the loginUI without user click and don't want this. Anyone?
After trying many possible solutions to handle the login button, I found the better way to do this. Had implemented my own button with the same appearance of the original button and attached the action.
How can I lock the home button in iOS 7 ?
I have 10 text fields and a submit button in a view. While I'm filling the text fields, the home button should be disabled.
Only after filling all the text fields, should the home button be again enabled.
Please let me know anybody, how to achieve this.
Thanks in advance.
Disabling the Home button using your app is not possible but you can use Guided Access to block the Home button, but this is something the users will have to do. I don't think there's an API to do it within an app.
From Apple:
Guided Access helps students with disabilities such as autism remain
on task and focused on content. It allows a parent, teacher, or
administrator to limit an iOS device to one app by disabling the Home
button, as well as restrict touch input on certain areas of the
screen.
In my application there is button field, when user click it, application communicate to a webserver, I want to insert a dynamic spinning "Hour Glass" at that time ....If any one knows the solution plz help...
I hope u want a wait screen feature
try these links:
http://www.naviina.eu/wp/blackberry/loading-class-for-blackberry/
Blackberry - Loading/Wait screen with animation