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

Is "Imageoffset" property has some problem? #445

Closed
harmomyshoes opened this issue Oct 10, 2016 · 2 comments
Closed

Is "Imageoffset" property has some problem? #445

harmomyshoes opened this issue Oct 10, 2016 · 2 comments

Comments

@harmomyshoes
Copy link

harmomyshoes commented Oct 10, 2016

dear friend,
thank you for supply this elegant project for us to use.

but I find some strange problem with "imageoffset" property,
when I use "self.calendar.appearance.imageOffset" to change the offset of image and reload calendar data in "viewWillAppear" event. Then every time I use popViewController back to the calendar page,I find the offset of image is increase.

I try to modify the code in "FSCalerdarCell.m" as below:

//before: 
_imageView.center.y + self.preferredImageOffset.y
//after:
self.contentView.fs_height/2.0 + self.preferredImageOffset.y

and It works.

so I am not sure,is this right way to use this property?

@WenchaoD
Copy link
Owner

@harmomyshoes This should be an old issue which is already fixed. Have u tried the latest?

@harmomyshoes
Copy link
Author

ok,I will update the code

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