fix backgroundColor don't work

My IOS SDK is 5.1,I found the backgroundColor don't work ,the method (setBackgroundImage:forToolbarPosition:barMetrics:) can fix it.