Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

100% Horizontal progress not filling all the way up #2

Closed
eni9889 opened this issue Sep 17, 2014 · 4 comments
Closed

100% Horizontal progress not filling all the way up #2

eni9889 opened this issue Sep 17, 2014 · 4 comments

Comments

@eni9889
Copy link

eni9889 commented Sep 17, 2014

This is the original mask:
progress

And here is the result:

2014-09-17 16 19 25

Would love any help

@chasseurmic
Copy link
Owner

I have downloaded your masking image and set up an Xcode project to try it out and I didn't find any problems with it. I set up a view in Interface Builder and using the following code in my view controller:

@property (weak, nonatomic) IBOutlet TWRProgressView *progressView;

[self.progressView setMaskingImage:[UIImage imageNamed:@"progress"]];
[self.progressView setProgress:1.0f];

Here's the output:
screenshot 2014-09-22 22 24 22

@eni9889
Copy link
Author

eni9889 commented Sep 22, 2014

Hi,

Is this on iOS 8? Because I also set the view up on IB and got the results u see on the original comment

@chasseurmic
Copy link
Owner

Yes

@eni9889
Copy link
Author

eni9889 commented Sep 22, 2014

That is very strange. Can you send me your xcode project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants