UIProgressView custom images doesn't work in iOS 7.1 -


i have app using progress views custom images. use code below:

[cell.prostatus settrackimage: [[uiimage imagenamed:@"circlegrey.png"] resizableimagewithcapinsets:uiedgeinsetszero]]; [cell.prostatus setprogressimage: [[uiimage imagenamed:@"circlepurple.png"] resizableimagewithcapinsets:uiedgeinsetszero]]; 

it works fine in ios 6 , 7.0 - when updating ios 7.1 doesn't show images - small little thin line (the standard progress view). do?

i have searched , read here in stack overflow of course. , have found following:

uiprogressview custom track , progress images in ios 7.1

but can't work? i'm little new programming. can please tell me (simple , basics) have work? in thread linked answer implement jeprogressview github. maybe i'm beginner understand how that. have googled , tried, won't work.

okay have worked out. know must basic xcode stuff - if there others have same issue had, here did.

  • download jeprogressview files github. (https://gist.github.com/johnestropia/9482567)
  • import them project.
  • in storyboard (if use that) select current progressview, , in right side of screen under 'identity inspector', in field 'class' enter : "jeprogressview"

maybe placed little different on screen, , have adjust little afterwards in x , y frame settings. after these steps should work!

pretty simple, beginner me took time figure out :-p can save time other beginners ;-)


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -