2016-05-30 143 views

回答

1

你不能設置只讀屬性,你可以這樣做,

創建一些SplashController,有一些閃屏,並在awakeWithContext

override func awakeWithContext(context: AnyObject?) { 
     super.awakeWithContext(context) 
} 

跟蹤的東西,你需要,跟蹤後提出一些控制器,例如

if !isCounting { 
    self.presentControllerWithName("Interface", context: nil) 
} else { 
    self.presentControllerWithName("Timer", context: nil) 
} 

isCounting存儲在NSUserDefaults的

希望這會有所幫助:)

相關問題