UIProgressView and Custom Track and Progress Images (iOS 5 properties)

Here’s what’s going on: The images you provide to the UIProgressView are basically being shoved in to UIImageViews, and the UIImageView is stretching the image to fill the space. If you simply do: [progressView setTrackImage:[UIImage imageNamed:@”track.png”]]; Then you’re going to get weird results, because it’s trying to stretch a 10px wide image to fill (for … Read more

UIProgressView custom track and progress images in iOS 7.1

This is very annoying. I didn’t find a way to fix this without subclassing UIProgressView. Anyway here’s how I fixed this: https://gist.github.com/JohnEstropia/9482567 You will have to change occurrences of UIProgressView to JEProgressView, including those in NIBs and storyboards. Basically, you’d need to force assigning the images directly to the UIProgressView‘s children UIImageViews. The subclass is … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)