[IOS] Correct way to draw background using a pattern image