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