0

In my two recent questions here and here I laid out my problem a bit, but I want to ask a more general question here. First my goal: I am trying to animate views side to side with a fixed background image.

I am new to iOS, and so I don't know all the tools that are available to me, but each time I started hacking this together I kept thinking that there must be a built-in way to do this. I didn't want to reinvent the wheel, so what is the common way to implement this?

Community
  • 1
  • 1
benekastah
  • 5,651
  • 1
  • 35
  • 50

1 Answers1

0

The best approach I think is making a UIView based in two main views:

  • The background, that always will stay
  • And on top of it, another UIView with your animated view

In case you want to animate it, its quite easy, just check this:

iPhone UIView Animation Best Practice

Community
  • 1
  • 1
Antonio MG
  • 20,382
  • 3
  • 43
  • 62