2016-09-20 58 views

回答

5
self.requestPresentationStyle(.expanded) 

一些更多的有用的代碼

if self.presentationStyle == .compact { 
    self.requestPresentationStyle(.expanded) 
} else { 
    self.requestPresentationStyle(.compact) 
} 

注:這些電話是從MessagesViewController類中做出