XIB通过loadNibNamed方法展示到屏幕上的过程

    xiaoxiao2023-03-24  4

    self.tableView.tableFooterView = self.footerView;

    2016-09-28 09:34:11.360 BiLing[562:131750] 调用loadViewFromNib

    2016-09-28 09:34:11.368 BiLing[562:131750] awakeFromNib------------{{0, 0}, {375, 70}}

    2016-09-28 09:34:11.369 BiLing[562:131750] 调用loadViewFromNib

    2016-09-28 09:34:11.369 BiLing[562:131750] 添加到tableFooterView上之前

    2016-09-28 09:34:11.369 BiLing[562:131750] willMoveToSuperview-----------{{0, 0}, {375, 70}}

    2016-09-28 09:34:11.369 BiLing[562:131750] didMoveToSuperview-----------{{0, 0}, {375, 70}}

    2016-09-28 09:34:11.370 BiLing[562:131750] 添加到tableFooterView上之后

    2016-09-28 09:34:11.383 BiLing[562:131750] willMoveToWindow----------{{0, 875}, {320, 70}}

    2016-09-28 09:34:11.393 BiLing[562:131750] didMoveToWindow----------{{0, 875}, {320, 70}}

    [self.view addSubview:self.footerView];

    2016-09-28 09:46:55.145 BiLing[574:134385] 调用loadViewFromNib

    2016-09-28 09:46:55.153 BiLing[574:134385] awakeFromNib------------{{0, 0}, {375, 70}}

    2016-09-28 09:46:55.154 BiLing[574:134385] 调用loadViewFromNib

    2016-09-28 09:46:55.155 BiLing[574:134385] 添加到父视图上之前

    2016-09-28 09:46:55.155 BiLing[574:134385] willMoveToSuperview-----------{{0, 0}, {375, 70}}

    2016-09-28 09:46:55.155 BiLing[574:134385] didMoveToSuperview-----------{{0, 0}, {375, 70}}

    2016-09-28 09:46:55.156 BiLing[574:134385] 添加到父视图上之后

    2016-09-28 09:46:55.156 BiLing[574:134385] viewWillAppear----

    2016-09-28 09:46:55.156 BiLing[574:134385] viewWillAppear----

    2016-09-28 09:46:55.168 BiLing[574:134385] willMoveToWindow----------{{0, 0}, {95, 38}}

    2016-09-28 09:46:55.175 BiLing[574:134385] didMoveToWindow----------{{0, 0}, {95, 38}}

    2016-09-28 09:46:55.878 BiLing[574:134385] viewDidAppear-----

    2016-09-28 09:46:55.878 BiLing[574:134385] viewDidAppear-----

    转载请注明原文地址: https://ju.6miu.com/read-1202720.html
    最新回复(0)