Third party backstage use Bmob

Source: Internet
Author: User

http://www.bmob.cn/, official website

Source code address.

First, the experiment for the use of Bmob as the background of the app, the temporary implementation of the function is registration and login functions.

First as a registration, you must confirm that you need to provide the user account password, as well as the user email/mobile phone number (forget password to let the user reset password, or verify the identity to login verification)

The official API for registered users provides a description of the address: http://docs.bmob.cn/ios/developdoc/index.html?menukey=develop_doc&key=develop_ios# Index_ Users

First of all, there is a Erro object in the API for registering and logging in, there is a property of UserInfo, if there is an error, the error message is displayed in this area,

I'm using an abandoned method. Displays a warning box that shows what the error occurred.

There is still room for developers to pay attention to:

The first is the user's password and the user's ID, although the official API will help you decide not to empty, but the length seems to be unlimited, that is, 1-letter account or password can be arbitrarily registered,

The second one is if you set the confirmation password as I do, you still need to compare the contents of the 2 password boxes.

Also let in TextField in the password input place does not display the clear text (namely displays the small circle black Spot the method is) Textfieldname.securetextentry = YES;

Feel the third-party platform this is very convenient, continue to test other things, heard that there is a third-party SDK even if the communication, called the ring letter, next time to try.

Although these third-party platforms are good, there is no understanding of what is inside, so you still need to learn the relevant knowledge.

Third party backstage use Bmob

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.