IF_BSP_WD_HISTORY_STATE_DESCR~IS_RESTORABLE的用法

88 阅读1分钟

Created by Jerry Wang, last modified on Apr 12, 2014

在overview页面点back button后,框架会调用检查是否有pending的navigation restore待处理:

 

clipboard1

 

 

调用application view controller的get_main_entity方法:

 

clipboard2

 

 

 

clipboard3

 

 

 

clipboard4

 

 

history manager的restore_state方法:

 

clipboard5

 

 

 

clipboard6

 

 

点了back button之后的navigation target在view_state-rep_view里维护:

 

clipboard7

 

 

在这个例子里navigation target即为IC agent inbox view:

 

clipboard8

 

 

 

clipboard9