"iOS" defines itself Tabbarcontroller

Source: Internet
Author: User
<span id="Label3"></p><p><p><strong><span style="font-size:14px; color:#cc33cc">first, their own definition of the idea</span></strong></p></p><p><p><span style="font-size:14px">The Tabbarcontroller in iOS is really powerful. Most mainstream iOS apps will Work.</span></p></p><p><p>But often can not meet all the needs, therefore need to define their own tabbar, their own definition needs to the system of Tabbar work way have a very good understanding of the need to define their own courage.</p></p><p><p></p></p><p><p><span style="font-size:14px">Define the principle of tabbar: try to use the system to bring the tabbar, just change the need to change the Place.</span></p></p><p><p><br></p></p><p><p></p></p><strong><strong><span style="font-size:14px; color:#cc33cc">second, The whole process of defining Tabbar</span></strong></strong><span style="font-size:14px"><span style="font-size:14px"> <span style="color:rgb(47,43,32)">1.</span> <span style="color:rgb(47,43,32)"></span> the <span style="color:rgb(47,43,32)">TabBar</span> <span style="color:rgb(47,43,32)">strip was first canceled</span> .</span></span><span style="font-size:14px"><span style="color:#2F2B20"><span style="color:#2F2B20">2.</span></span><span style="color:#2F2B20"><span style="color:#2F2B20">Make Yourself a</span></span><span style="color:#2F2B20"><span style="color:#2F2B20">view,</span></span><span style="color:#2F2B20"><span style="color:#2F2B20">put a few buttons up there</span> .</span><span style="color:#2F2B20"><span style="color:#2F2B20">,</span></span><span style="color:#2F2B20"><span style="color:#2F2B20">set Button's Click event</span></span><span style="color:#2F2B20"><span style="color:#2F2B20">.</span></span><span style="color:#2F2B20"><span style="color:#2F2B20">and set</span></span><span style="color:#2F2B20">Selectindex.<p><p></p></p><p><p><span style="color:#2F2B20"><span style="font-size:14px">3. Associate each Sub-viewcontroller. Overwrite related Events.</span></span><br></p></p><p><p></p></p><p><p><strong><span style="font-size:14px; color:#cc33cc">third, the details are very important</span></strong></p></p><p><p></p></p><span style="font-size:14px"><span style="font-size:14px"> <span style="color:rgb(169,165,124)">1.</span> <span style="color:rgb(47,43,32)">Associate the button that you created with</span> <span style="color:rgb(47,43,32)">viewcontroller:</span> </span></span><span style="font-size:14px"><span style="font-size:14px"><span style="color:#2F2B20"><span style="color:rgb(156,190,189)">?</span> Use</span> <span style="color:#2F2B20"></span> <span style="color:#2F2B20">the</span> <span style="color:red">tabbar selectedindex</span> <span style="color:#2F2B20">Property</span> <span style="color:#2F2B20">.</span> <span style="color:#2F2B20">You can set this Property.</span> <span style="color:#2F2B20">.</span></span></span><span style="font-size:14px"><span style="font-size:14px"> <span style="color:#a9a57c">2.</span> <span style="color:#2F2B20">Remove the system highlighting</span> <span style="color:#2F2B20">:</span> </span></span><span style="font-size:14px"><span style="font-size:14px"><span style="color:#9CBEBD">?</span> <span style="color:#2F2B20">ability to define a button yourself</span> <span style="color:#2F2B20">.</span> <span style="color:#2F2B20">rewrite the inside</span> <span style="color:red">sethighhighted</span> <span style="color:#2F2B20">Method</span> <span style="color:#2F2B20">,</span> <span style="color:#2F2B20">you're not doing anything.</span> <span style="color:#2F2B20">. (</span> <span style="color:#2F2B20">Assuming the call</span> <span style="color:#2F2B20">Super</span> <span style="color:#2F2B20">is equivalent to not writing</span> <span style="color:#2F2B20">)</span> </span></span><span style="font-size:14px"><span style="font-size:14px"> <span style="color:#a9a57c">3.</span> <span style="color:red">for a few buttons, just select one of the methods</span> <span style="color:#2F2B20">:</span> </span></span><span style="font-size:14px"><span style="font-size:14px"><span style="color:#9CBEBD">?</span> <span style="color:#2F2B20">set a property</span> <span style="color:#2F2B20">,</span> <span style="color:#2F2B20">record the last selected button</span> <span style="color:#2F2B20">.</span></span></span><span style="font-size:14px"><span style="font-size:14px"><span style="color:rgb(156,190,189)">?</span> <span style="color:rgb(47,43,32)">When you click the current button</span> <span style="color:rgb(47,43,32)">,</span> <span style="color:rgb(47,43,32)">Set the previous button to</span> unchecked <span style="color:rgb(47,43,32)">,</span> <span style="color:rgb(47,43,32)">and sets the current button to the selected</span> <span style="color:rgb(47,43,32)">,</span> <span style="color:rgb(47,43,32)">finally assign the current button to the previous button</span> <span style="color:rgb(47,43,32)">.</span></span></span><span style="color:#2F2B20"><span style="color:#2F2B20"><br></span></span><span style="font-size:14px; color:#cc33cc"><span style="font-size:14px; color:#cc33cc"><strong>iv. Preliminary definition of oneself</strong></span></span><span style="color:#2f2b20"><span style="color:#2f2b20">directly on the code, see Gaze. </span></span><span style="color:#2f2b20"><span style="color:#2f2b20"></span></span><strong><strong>XNTabBarController.h</strong></strong><br><p><p></p></p><p><p></p></p><pre code_snippet_id="411676" snippet_file_name="blog_20140630_1_3746462" name="code" class="objc"><pre code_snippet_id="411676" snippet_file_name="blog_20140630_1_3746462" name="code" class="objc">#import <UIKit/UIKit.h> @interface Xntabbarcontroller:uitabbarcontroller@end</pre></pre><br><p><p></p></p><p><p><strong>Xntabbarcontroller.m</strong></p></p><p><p></p></p><pre code_snippet_id="411676" snippet_file_name="blog_20140630_2_9570550" name="code" class="objc">Xntabbarcontroller.m//////Created by Neng on 14-6-19.//Copyright (c) 2014 neng. All rights reserved.//#import "XNTabBarController.h" #import "Common.h" #import "XNTabBarButton.h" @interface Xntabbarcontroller ()/** * Set previously selected button */@property (nonatomic, weak) UIButton *selectedbtn; @end @implementation Xntabbarcontroller-(void) viewdidload {[super Viewdidload];//the Following two methods are often used in Development//NSLog (@ "%s", __func__);//NSLog (@ "% @ ", self.view.subviews); Can print out all the sub-views, and its framelogfun; Logsubviews (self.view);//delete existing Tabbarcgrect rect = self.tabBar.frame; [self.tabbar removefromsuperview]; Remove the lower section of the tabbarcontroller//test to add its own view UIView *myview = [[UIView alloc] init];myview.frame = rect; Myview.backgroundcolor = [uicolor redcolor]; [self.view addsubview:myview];for (int i = 0; i < 5; i++) {//uibutton *btn = [[UIButton alloc] init]; Xntabbarbutton *btn = [[xntabbarbutton alloc] init]; NSString *imagename = [nsstring stringwithformat:@ "tabbar%d", i + 1]; NSString *imagenamesel = [nsstring stringwithformat:@ "tabbar%dsel", i + 1]; [BTN setimage:[uiimage imagenamed:imagename] forstate:uicontrolstatenormal]; [BTN setimage:[uiimage imagenamed:imagenamesel] forstate:uicontrolstateselected]; CGFloat x = i * myview.frame.size.width/5;btn.frame = CGRectMake (x, 0, myview.frame.size.width/5, myView.frame.size.he ight); [myView addsubview:btn]; Btn.tag = i;//sets The tag of the button to make it easy to index the current button and jump to the corresponding View//with reference to the Listening method remember to add "colon" [btn addtarget:self action: @selector (clickbtn:) Forcontrolevents:uicontroleventtouchupinside];//setting just entered, the first button is selected if (0 = = I) {btn.selected = YES; SELF.SELECTEDBTN = btn; Set the button to the selected button}}}/** * self-defined tabbar button click event */-(void) clickbtn: (UIButton *) button {//1. First set the previously selected button to unchecked self.selectedBtn.selected = no;//2. Then set the current button to check button.selected = yes;//3. finally, the current button is assigned to the previously selected BUTTONSELF.SELECTEDBTN = button; 4. Jump to the corresponding view Controller. (the Controller is set with the Selectindex parameter selected) self.selectedindex = button.tag;} @end</pre><br><p><p></p></p><p><p><strong>XNTabBarButton.h</strong></p></p><p><p></p></p><pre code_snippet_id="411676" snippet_file_name="blog_20140630_3_8283794" name="code" class="objc"><pre code_snippet_id="411676" snippet_file_name="blog_20140630_3_8283794" name="code" class="objc">#import <UIKit/UIKit.h> @interface Xntabbarbutton:uibutton@end</pre></pre><p><p></p></p><p><p></p></p><p><p>Xntabbarbutton.m</p></p><p><p></p></p><pre code_snippet_id="411676" snippet_file_name="blog_20140630_4_3932376" name="code" class="objc"><pre code_snippet_id="411676" snippet_file_name="blog_20140630_4_3932376" name="code" class="objc">#import "XNTabBarButton.h" @implementation xntabbarbutton/** to cancel the highlight state of the system button */-(void) sethighlighted: (BOOL) highlighted{// [super sethighlighted:highlighted];} @end</pre></pre><br><span style="font-size:14px; color:#cc33cc"><span style="font-size:14px; color:#cc33cc"><strong>five, Code</strong></span> refactoring</span><br><p><p></p></p><p><p><span style="color:rgb(47,43,32)"></span></p></p><span style="font-size:14px">The purpose of refactoring is to put the <span style="font-size:14px"> <span style="color:red"></span> <span style="color:#2F2B20">code where he should</span> be <span style="color:#2F2B20">. Improved Read-write and Extensibility. </span></span></span><span style="color:#2F2B20"><span style="color:#2F2B20"><span style="font-size:14px"><br></span></span></span><span style="color:#2F2B20"><span style="color:#2F2B20"></span></span><span style="font-size:14px">The refactoring of <span style="font-size:14px"> <span style="color:#2F2B20">controls is</span> <span style="color:#FF6600">guaranteed to be reusable</span> <span style="color:#2F2B20">.</span> <span style="color:#2F2B20">when packaging for other applications</span> <span style="color:#2F2B20">,</span> <span style="color:#2F2B20">to be able to take the past to the point</span> <span style="color:#2F2B20">.</span></span></span><span style="color:rgb(47,43,32)"><span style="color:rgb(47,43,32)"><br></span></span><span style="color:rgb(47,43,32)"><span style="color:rgb(47,43,32)"><strong><span style="font-size:14px">tips:</span></strong></span></span><span style="color:#2f2b20"><span style="color:#2f2b20"></span></span><span style="font-size:14px"><span style="font-size:14px"> <span style="color:rgb(169,165,124)">1.</span> <span style="color:rgb(47,43,32)">about</span> <span style="color:red">init</span> <span style="color:red">and</span> <span style="color:red">initwithframe</span><span style="color:rgb(47,43,32)">:</span> </span></span><span style="font-size:14px"><span style="font-size:14px"><span style="color:#9CBEBD">?</span> <span style="color:#2F2B20">in object initialization calls</span> <span style="color:red">Init</span> <span style="color:#2F2B20">when</span> <span style="color:#2F2B20">,</span> <span style="color:#2F2B20">is called</span> <span style="color:red">initWithFrame</span> <span style="color:#2F2B20">Method</span> <span style="color:#2F2B20">.</span></span></span><span style="font-size:14px"><span style="font-size:14px"><span style="color:#9CBEBD">?</span> <span style="color:#2F2B20">Init</span> <span style="color:#2F2B20">with the</span> <span style="color:#2F2B20">initWithFrame</span> <span style="color:#2F2B20">will be called</span> <span style="color:#2F2B20">.</span></span></span><span style="font-size:14px"><span style="font-size:14px"><span style="color: #9CBEBD">? </span> <span style="color: #2F2B20"> It is recommended that you define the control not to be heavy </span> <span style="color: #2F2B20"> write </span> <span style="color: #2F2B20">init </span> <span style="color: #2F2B20"> method </span> <span style="color: #2F2B20" , < span> <span style="color: #2F2B20"> need </span> <span style="color:blue"> initialize </span> <span style="color: #2F2B20" when < span> <span style="color:red"> override </span> <span style="color:red">initwithframe </span> <span style="color: #2F2B20"> method </span> <span style="color: #2F2B20">. </span> </span></span></span></span><span style="font-size:14px"><span style="font-size:14px"><span style="color:#D2CB6C">?</span> <span style="color:#2F2B20">Advantages</span> <span style="color:#2F2B20">:</span> <span style="color:#2F2B20">other people call whether the call</span> <span style="color:#2F2B20">init,</span> <span style="color:#2F2B20">or call the</span> <span style="color:#2F2B20">initWithFrame</span> <span style="color:#2F2B20">will be called</span> <span style="color:#2F2B20">initWithFrame</span> <span style="color:#2F2B20">Method</span> <span style="color:#2F2B20">.</span></span></span><p><p></p></p><span style="font-size:14px"><span style="font-size:14px"> <span style="color:#A9A57C">2</span> . About the <span style="color:#FF6600">Layout code</span> <span style="color:#2F2B20">of the control</span> <span style="color:#2F2B20">:</span> </span></span><span style="font-size:14px"><span style="font-size:14px"><span style="color:#9CBEBD">?</span> <span style="color:#2F2B20">suggestions are written in</span> <span style="color:#FF6600">layoutsubviews</span> <span style="color:#2F2B20">method in</span> <span style="color:#2F2B20">.</span></span></span><span style="font-size:14px"><span style="font-size:14px"><span style="color:#9CBEBD">?</span> <span style="color:#3366FF">don't forget to write</span> <span style="color:#3366FF">Super</span> <span style="color:#3366FF">Method</span> </span></span><span style="font-size:14px"><span style="font-size:14px"><span style="color:#9CBEBD">?</span> <span style="color:#2F2B20">will set</span> <span style="color:#2F2B20">X,y,frame</span> i <span style="color:#2F2B20">'ll write it in here</span> . <span style="color:#2F2B20">.</span></span></span><span style="font-size:14px"><span style="font-size:14px"> <span style="color:#A9A57C">3</span> . Add <span style="color:#2F2B20"></span> <span style="color:#FF6600">your own defined</span> <span style="color:#2F2B20">Tabbar</span> <span style="color:#FF6600">as</span> a <span style="color:#FF6600">sub-view of the</span> system <span style="color:#FF6600">Tabbar</span> <span style="color:#2F2B20">,</span> <span style="color:#2F2B20"> So</span> <span style="color:#2F2B20">TabBar</span> <span style="color:#2F2B20">switch their own active hide</span> <span style="color:#2F2B20">/</span> <span style="color:#2F2B20">swipe function do not have to do it yourself</span> <span style="color:#2F2B20">. (hide</span> <span style="color:#2F2B20">Bottom</span> <span style="color:#2F2B20">Bar</span> <span style="color:#2F2B20"></span> on <span style="color:#2F2B20">push)</span> </span></span><span style="color:#2F2B20"><span style="color:#2F2B20"><br></span></span><span style="color:#2F2B20"><span style="color:#2F2B20"><span style="font-size:12px"> <strong>The refactored code is as follows</strong> :</span></span></span><span style="font-size:12px; color:#993399"><span style="font-size:12px; color:#993399">separate the tabbar of your own Definition. And move the code over. </span></span><span style="font-size:12px"><span style="font-size:12px"> <span style="color:#993399">Set the proxy method, the <span style="font-family:‘Heiti SC Light‘">toolbar button is selected</span> <span style="font-family:Menlo">, and</span> the record is where <span style="font-family:‘Heiti SC Light‘">to jump from</span> </span> <span style="font-family:Menlo"> <span style="color:#993399">.</span> <span style="color:#330000"> </span></span></span></span><span style="color:rgb(76,191,87); font-size:13px; font-family:Menlo"><span style="color:rgb(76,191,87); font-size:13px; font-family:Menlo"><br></span></span><strong><strong>XNTabBar.h</strong></strong><br><p><p></p></p><p><p></p></p><pre code_snippet_id="411676" snippet_file_name="blog_20140630_5_1217161" name="code" class="objc"><pre code_snippet_id="411676" snippet_file_name="blog_20140630_5_1217161" name="code" class="objc">#import <UIKit/UIKit.h> @class xntabbar; @protocol xntabbardelegate <nsobject>/** * toolbar button is selected, Record where to jump From. (convenient to do the corresponding special effects) */-(void) tabBar: (xntabbar *) tabBar selectedfrom: (nsinteger) from to: (nsinteger) to; @end @interface Xntabbar:uiview@property (nonatomic,weak) id<xntabbardelegate> delegate;/** * use a specific image to create a button, The advantage of doing this is Extensibility. Get another project inside can also change the picture directly with * * @param image Normal picture * @param selectedimage selected picture */-(void) addbuttonwithimage: ( UIImage *) image selectedimage: (UIImage *) selectedimage; @end</pre></pre><p><p></p></p><p><p><br></p></p><strong><strong>XNTABBAR.M</strong></strong><p><p><br></p></p><pre code_snippet_id="411676" snippet_file_name="blog_20140630_6_2438660" name="code" class="objc">Xntabbar.m////Created by Neng on 14-6-19.//Copyright (c) 2014 neng. All rights reserved.//#import "XNTabBar.h" #import "XNTabBarButton.h" @interface Xntabbar ()/** * Set previously selected button */@ Property (nonatomic, weak) UIButton *selectedbtn; @end @implementation xntabbar/** * Write the control initialization in this method, call the Init method when it calls *///-( Id) initwithframe: (cgrect) frame {//if (self = [super initwithframe:frame]) {////join button//for (int i = 0; i < 5; i++) { Cancel out a specific Number////uibutton *btn = [[UIButton alloc] Init];//xntabbarbutton *btn = [[xntabbarbutton alloc] init];////nsstring *imagename = [nsstring stringwithformat:@ "tabbar%d", i + 1];//nsstring *imagenamesel = [nsstring stringWithFormat:@] Tabbar%dsel ", i + 1];////[btn setimage:[uiimage imagenamed:imagename] forstate:uicontrolstatenormal];//[btn setImage: [UIImage imagenamed:imagenamesel] forstate:uicontrolstateselected];////[self Addsubview:btn];////btn.tag = i; Set the tag of the button to easily index the current button and jump to the corresponding view//////with a reference to the listening method remember to add "colon"//[btn addtarget:self action: @selector (clickbtn:) forcontrolevents:uicontroleventtouchupinside];////if (0 = = I) {//[self Clickbtn:btn];//}//}//}//return Self ;//}-(void) addbuttonwithimage: (UIImage *) image selectedimage: (UIImage *) selectedimage {UIButton *btn = [[UIButton] alloc] init]; [BTN Setimage:image forstate:uicontrolstatenormal]; [BTN Setimage:selectedimage forstate:uicontrolstateselected]; [self Addsubview:btn];//with The number of listening methods remember to add a "colon" [btn addtarget:self action: @selector (clickbtn:) forcontrolevents: Uicontroleventtouchupinside];//is assumed to be the first button, select (join sequentially) if (self.subviews.count = = 1) {[self clickbtn:btn];}} /** specifically used to layout the child view, don't forget to call the Super method */-(void) layoutsubviews {[super layoutsubviews];int count = self.subviews.count;for (int i = 0 ; I < count; I++) {//get Buttonuibutton *btn = Self.subviews[i];btn.tag = I;//set The Button's tag to make it easy to index the current button and jump to the corresponding view cgfloat x = i * self. bounds.size.width/count; CGFloat y = 0; CGFloat width = self.bounds.size.width/count; CGFloat height = Self.bounds.size.height;btn.frame = CGRectMake (x, y, width, height);}} /** * Define Tabbar's button click event */-(void) clickbtn: (UIButton *) button {//1. First set the previously selected button to unchecked self.selectedBtn.selected = no;//2. then set the current button to check button.selected = yes;//3. finally assign the current button to the previous selected BUTTONSELF.SELECTEDBTN = button;//but change the view controller, Should be given to the controller to do//preferably write this, first infer whether the proxy method implements if ([self.delegate respondstoselector: @selector (tabBar:selectedFrom:to:)]) {[ Self.delegate tabbar:self SelectedFrom:self.selectedBtn.tag to:button.tag];} 4. Jump to the corresponding view Controller. (the Controller is set with the Selectindex parameter Selected)//self.selectedindex = button.tag;} @end</pre><br>The original<strong><strong>XNTABBARCONTROLLER.M</strong></strong>After the change, stare at the original Code.<p><p></p></p><p><p></p></p><pre code_snippet_id="411676" snippet_file_name="blog_20140630_7_8294985" name="code" class="objc">Xntabbarcontroller.m////Created by Neng on 14-6-19.//Copyright (c) 2014 neng. All rights reserved.//#import "XNTabBarController.h" #import "XNTabBarButton.h" #import "XNTabBar.h" @interface Xntabbarcontroller () <xntabbardelegate>/** * Set previously selected button */@property (nonatomic, weak) UIButton *selectedbtn;@ End@implementation xntabbarcontroller-(void) viewdidload {[super viewdidload];//the Following two methods are often used in Development//NSLog (@ "%s", __ Func__);//NSLog (@ "%@", self.view.subviews); Can print out all the child views, and its frame//logfun;//logsubviews (self.view);//hell//delete the existing tabbarcgrect rect = self.tabBar.bounds; Here to use bounds to add, otherwise it will add to go down. invisible logframe (self.tabbar);//[self.tabbar removefromsuperview]; Remove the lower section of the tabbarcontroller//test to add its own view xntabbar *myview = [[xntabbar alloc] init]; The setup agent must change the previous type and cannot use Uiviewmyview.delegate = self; Set Proxy myview.frame = rect; [self.tabbar addsubview:myview]; Add to the System's own tabbar, so you can use the event Method. Instead of having to write it yourself//add a button for the controller for (int i=0; i<self.viewcontrollers.count; i++) {//depending on how many child viewsController to add button nsstring *imagename = [nsstring stringwithformat:@ "tabbar%d", i + 1]; NSString *imagenamesel = [nsstring stringwithformat:@ "tabbar%dsel", i + 1]; UIImage *image = [UIImage imagenamed:imagename]; UIImage *imagesel = [UIImage imagenamed:imagenamesel]; [myView Addbuttonwithimage:image selectedimage:imagesel]; }////join button//for (int i = 0; i < 5; i++) {////uibutton *btn = [[UIButton alloc] Init];//xntabbarbutto n *btn = [[xntabbarbutton alloc] init];////nsstring *imagename = [nsstring stringwithformat:@ "tabbar%d", i + 1];//NSString *imagenamesel = [nsstring stringwithformat:@ "tabbar%dsel", i + 1];////[btn setimage:[uiimage imageNamed:imageName] FORSTATE:UICONTROLSTATENORMAL];//[BTN setimage:[uiimage imagenamed:imagenamesel] forState:UIControlStateSelected] ;////cgfloat x = i * myview.frame.size.width/5;//btn.frame = CGRectMake (x, 0, myview.frame.size.width/5, MyView.frame. Size.height);////[myView Addsubview:btn];////btn.tag = I;//sets The tag of the button to easily index the current button, and jumps to the corresponding view//////with the parameters of the listening method remember to add a "colon"//[btn addTarget: Self action: @selector (clickbtn:) forcontrolevents:uicontroleventtouchupinside];//////the first button is selected when the setting is just entered//if (0 = = I) {//btn.selected = YES;//SELF.SELECTEDBTN = btn; Set the button to the selected button//}//}}/** never forget to set proxy */-(void) tabBar: (xntabbar *) tabBar selectedfrom: (nsinteger) from To: ( Nsinteger) to {self.selectedindex = to;} /** * Define the Tabbar button click event *///-(void) clickbtn: (UIButton *) button {////1. set the previously selected button to not selected// self.selectedBtn.selected = no;////2. Then set the current button to check//button.selected = yes;////3. finally, Assign the current button to the previously selected button// SELF.SELECTEDBTN = button;//////4. jump to the corresponding view Controller. (the Controller is set with the selectindex number of parameters Selected)//self.selectedindex = button.tag;//} @end</pre><br>Self-defined:<p><p></p></p><p><p></p></p><p><p>watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqveg40ntq1otq1/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast "><br></p></p><p><p><br></p></p><p><p><br></p></p><p><p><span style="font-size:14px"><strong>Sample source code download </strong>: http://download.csdn.net/detail/xn4545945/7572263</span></p></p><span style="color:rgb(51,51,255); font-family:Arial; font-size:14px; line-height:26px"><span style="color:rgb(51,51,255); font-family:Arial; font-size:14px; line-height:26px">reprint Please specify source: http://blog.csdn.net/xn4545945</span></span><p><p><br></p></p><p><p><br></p></p> <p><p>"iOS" defines itself Tabbarcontroller</p></p></span></span></span>

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.