Both. Anki for spaced repetition and active recall and UWorld for practice problems and filling any conceptual gaps.
For Anki to be of any real use, it has to be constantly used (i.e. everyday*). UWorld problems - do some every day or every few days a week (depending on your schedule constraints)