- added api for fetching the episode as per the selected category
- made the category collection cells dynamic - handled the category selection will call the episode api - solved activity indicator view at the splash start-up - handled the app lifecycle for live tv app going in foreground and background - handled play pause while the live tv view apperas and disappears - Made the likes and favourites dynamic on episode screen
This commit is contained in:
@@ -42,15 +42,6 @@ class SplashVC: UIViewController {
|
||||
AuthFunc.shareInstance.languageSelected = .english
|
||||
}
|
||||
|
||||
// let sb1 = UIStoryboard(name: "Home", bundle: nil)
|
||||
// let vc1 = sb1.instantiateViewController(withIdentifier: "SideMenu") as! SideMenuController
|
||||
// self.navigationController?.pushViewController(vc1, animated: true)
|
||||
|
||||
|
||||
// UIApplication.setRootView(SideMenuController.instantiate(from: .Home))
|
||||
//
|
||||
// return
|
||||
|
||||
let sb = UIStoryboard(name: K.StoryBoard.main, bundle: nil)
|
||||
let vc = sb.instantiateViewController(withIdentifier: K.StoryBoardID.OnBoarding.onBoardVC) as! OnBoardVC
|
||||
|
||||
@@ -59,10 +50,6 @@ class SplashVC: UIViewController {
|
||||
transition.duration = 0.3 // Set the duration of the animation
|
||||
transition.type = CATransitionType.fade // Set the type of animation to fade
|
||||
|
||||
// Optionally, set other properties such as timing function, subtype, etc.
|
||||
// transition.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
|
||||
// transition.subtype = CATransitionSubtype.fromTop
|
||||
|
||||
// Get the navigation controller
|
||||
guard let navigationController = navigationController else { return }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user