UI features for some iOS

Source: Internet
Author: User

1 some of the underlying properties of the UI control2 3 4 uitextfiled. Inputaccessoryview setting the toolbar on the keyboard generally implements the recovery of the keyboard5 uitextfiled. Resignfirstresponder Unregister the keyboard from the collection6 uitextfiled. Leftview Custom uitextfiled left view style7 UITableViewCell. Accessoryview Setting the delete style for UITableViewCell8When setting the status bar with application, add the following in Infoplist: View controller-based status bar appearance set to No9 Ten  OneUiviewcontroller setedgesforextendedlayout =Uirectedgenone A  -  -  the Nsuserdefaults: - forced storage, not necessary, can be achieved by immediately storage - nsuserdefaults.standarduserdefaults (). Synchronize () -? +  - uiapplication: + //don't let mobile app sleep AUiapplication.sharedapplication (). idletimerdisabled =true at //Network Status Display -Uiapplication.sharedapplication (). networkactivityindicatorvisible =true -Uiapplication.sharedapplication (). OpenURL (Nsurl.init (string: uiapplicationopensettingsurlstring)!) - UIButton: -  -Self.jump?. Contentedgeinsets = Uiedgeinsetsmake (5,6,3,6) inSelf.jump?. Contenthorizontalalignment = . Left - nslocalizedstring: toLet month_short_name = [Nslocalizedstring ("Ids_short_jan", Comment:""), +? -   the Mkmapview: *Func Currentzoomscale ()Mkzoomscale { $         returnSelf.bounds.size.width/cgfloat (self.visibleMapRect.size.width)Panax Notoginseng  -}//returns the scale bar of the current map the? + Application: A@property (Nonatomic,ReadOnly) uiuserinterfacelayoutdirection userinterfacelayoutdirection the //returns the layout direction of the user interface.  +? -IOS7 since navigationbar.translucent default is yes, the coordinates 0 point default in (0,0) point when opaque, 0-point coordinates (0, -If you want to set it to transparent, and 0 pips from (0, -) Start, then add: Self.edgesforextendedlayout =Uirectedgenone; $? $? - Uipangesturerecognizer -  theCgpoint Translation=[gesture TranslationInView:self.view];//using the Translationinview: method of the drag gesture to get the movement of the relative specified view (here is the Controller root view) -?Wuyi Cabaseanimaton After performing the animation, determine the seat of the picture theRemovedoncompletion: The default is yes, which is removed from the layer after the animation has finished executing, and the drawing reverts to the state before the animation was executed. If you want the layer to remain displayed after the animation has been executed, set it to no, but also set Fillmode to Kcafillmodeforwards.

Some of the UI features of iOS

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.