> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Install/Update differentiation

> Differentiate between app installs and updates in your iOS app using the MoEngage appStatus API.

Since you might integrate us when your app is already on the App Store, we would need to know whether your app update would be an actual **UPDATE** or an **INSTALL**. Have a logic in place to differentiate between the two, and use the methods below to let the SDK know about the same:

<CodeGroup>
  ```swift Swift wrap theme={null}
  //For Fresh Install of App
  MoEngageSDKAnalytics.sharedInstance.appStatus(.install)

  // For Existing user who has updated the app
  MoEngageSDKAnalytics.sharedInstance.appStatus(.update)
  ```

  ```objective-c Objective C theme={null}
  //For Fresh Install of App
  [[MoEngageSDKAnalytics sharedInstance]appStatus:MoEngageAppStatusInstall];

  // For Existing user who has updated the app
  [[MoEngageSDKAnalytics sharedInstance]appStatus:MoEngageAppStatusUpdate];
  ```
</CodeGroup>
