Sttabcontroller: basic definition
@interface STTabController : UITabBarController //! event is executed before UI initialization -(void)onInit; //! UI initialization -(void)initUI; //! event is executed after UI initialization -(void)initData; @end
There are fewer definitions than the stview base class.
The core of this method is to rewrite some basic methods
2. Examples of basic usage:
A. Inherit base class
@interface MainController : STTabController @end
2. Setting method
This is relatively simple. That’s all.