# SearchInAppsSDK Framework Reference

# SearchContentView

    @available(iOS, introduced: 14)
    @MainActor
    struct SearchContentView

A Swift UI View to show a single Search Content Block by providing SearchContentBlockData.
If the search content block contains search suggestions, they will be stylized by the provided
SearchContentViewOptions.
- `


  ### [Body](https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Structs/SearchContentView#/s:15SearchInAppsSDK0A11ContentViewV4Bodya)


  ` The type of view representing the body of this view.

  When you create a custom view, Swift infers this type from your
  implementation of the required `View/body-swift.property` property.

  #### Declaration

  Swift

      @available(iOS, introduced: 14)
      typealias Body = some View

- `


  ### [init(blockData:options:)](https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Structs/SearchContentView#/s:15SearchInAppsSDK0A11ContentViewV9blockData7optionsAcA0ae5BlockH0CSg_AA0a11SuggestionsF7OptionsCtcfc)


  ` Creates a SearchContentView.

  #### Declaration

  Swift

      @available(iOS, introduced: 14)
      @MainActor
      init(blockData: https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchContentBlockData.html?, options: SearchContentViewOptions = SearchContentViewOptions())