iOS利用代理實現介面跳轉

  • 作者:由 匿名使用者 發表于 舞蹈
  • 2022-08-13

iOS利用代理實現介面跳轉ten10tian2016-04-18

引入代理類標頭檔案和要跳轉到的介面標頭檔案

-(void)aaa

{

//可以插入動畫

LYXViewControllor * view = [LYXViewControllor new];

LYXDelegate * dingDong = [UIApplacation sharedApplacation]。delegate;

dingDong。window。rootViewControllor = view;

}

Top