mirror of
https://github.com/jphong1111/awesome-ios-developer.git
synced 2025-02-06 01:03:36 +07:00
Update README.md
This commit is contained in:
parent
45b291b521
commit
a518367e01
@ -583,7 +583,7 @@ func sceneDidEnterBackground(_ scene: UIScene) {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
If your target is **below iOS13**, put this line of code in side your sceneDidEnterBackground of **AppDelegate.swift** file
|
If your target is **below iOS13**, put this line of code in side your **applicationWillTerminate** of **AppDelegate.swift** file
|
||||||
|
|
||||||
```swift
|
```swift
|
||||||
self.saveContext()
|
self.saveContext()
|
||||||
|
Loading…
Reference in New Issue
Block a user