回覆列表
  • 1 # gktee35942

    用一個lynaviViewController繼承navigation,在app delegate中初始化lynaviViewController,然後self.window.rootViewController = lyNaviViewController; 要跳轉頁面時用lynaviViewController,程式碼片段:lyNaviViewController = [[LYNaviViewController alloc] init]; self.window.rootViewController = lyNaviViewController; [lyNaviViewController setNavigationBarHidden:true]; HLMainViewController* hlMain = [[HLMainViewController alloc] init]; [hlMain initContentViews];[lyNaviViewController pushViewController:hlMain animated:false];

  • 中秋節和大豐收的關聯?
  • 日語中長短的“長”怎麼說?