3 Popular iOS Bullet frames

Source: Internet
Author: User

So far, already know 3 kinds of iOS Bullets: 1, System frame-bottom frame uiactionsheet (1) Usage: Handling user very dangerous operation, such as Logout system (2) Example: Uiactionsheet *sheet = [Uiactionsheet Alloc] initwithtitle:@ "OK to log out?" Delegate:self cancelbuttontitle:@ "Cancel" destructivebuttontitle:@ "OK" otherbuttontitles : nil, nil];
[Sheet ShowInView:self.view]; (3) Effect 2, System bullet frame-middle frame (1) Usage: Handling General reminders, if not necessary, try not to, affect the friendliness of. (2) Example: Uialertview *alert = [[Uialertview alloc] initwithtitle:@ "Warning" message:@ "Account or password error" Delegate:nil Cancelbuttontitle : @ "Good" otherbuttontitles:nil, nil];
[Alert show]; (3) Effect: In the Login interface, enter the account password, if there is an input error, the box prompt, you must click on the "good" to re-enter 3, the three-party frame mbprogresshud box-Intermediate bullet Frame (1) Usage: need to introduce the framework file, here on its basis, Wrote a classification, the header file "Mbprogresshud+mj.h", more convenient method call. Other files that need to invoke the method contain the header file. The advantage is that it only prompts for 1 seconds and then disappears quickly without the user having to click. More friendly. (2) Example: [Mbprogresshud showerror:@ "password error"];
[Mbprogresshud showmessage:@ "Login ...."]; (3) Effect: Frame plug-in mbprogresshud.zip Baidu Network address: Link: Http://pan.baidu.com/s/1pJJXymZ Password: 5euj

3 Popular iOS Bullet frames

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.