Reload application data when the app comes into foreground?

前端 未结 4 523
轮回少年
轮回少年 2021-01-30 15:31

I\'m new to iPhone development. I\'m building an app that loads data from a local sqlite3 DB in

-   (BOOL)application:(UIApplication *)application didFinishLaunch         


        
4条回答
  •  耶瑟儿~
    2021-01-30 15:52

    - (void)applicationDidBecomeActive:(UIApplication *)application {
    }
    

    Reload the data in the above function of the app delegate to refresh the data when ever the app comes to foreground.

提交回复
热议问题