title: swiftUI how to create bubble effect?
body: <p>Tried several way to make it bubble effect from bottom to top moving.</p>
  <p>I able to move it from bottom to top. but I can not make it like bubble effect.</p>
  <pre><code>@State private var bouncing = true
  var body: some View {
      Image(&quot;bubble&quot;).resizable()
          .aspectRatio(contentMode: .fit)
          .frame(height: 40)
          .frame(maxHeight: .infinity, alignment: bouncing ? .bottom : .top)
          .animation(Animation.easeInOut(duration: 5.0).repeatForever(autoreverses: false))
          .onAppear {
              self.bouncing.toggle()
          }
      
  }
  </code></pre>
  <p>Here is simple bubble animation what I looking for. <a href="https://i.stack.imgur.com/esENR.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/esENR.gif" alt="enter image description here" /></a></p>