Comments (21)
I just release a new version.
Check the Example project.
This bug should be gone.
from jtcalendar.
It's very strange. I know a have a problem when the calendar appear, it's 2 month before and only when viewDidAppear
is call it's on the good month. I create a new project with a navigation controller and when i click on the back button there is no problem. You may have confused viewDidAppear
and viewDidDisappear
.
from jtcalendar.
Hi @jonathantribouharet, I try it in the example that comes with the project and i Added a NavViewController to the storyboard, connect it the table with the view. and I see the Same behavior.
I'm using iOS8 on my test device.
from jtcalendar.
Maybe with this I can Explain me Better!
Thanks!
from jtcalendar.
I'm sorry i'm not very familiar with the storyboard but from what i see, you really have a problem because you see my calendar in another controller during the transition which is not possible with a normal code. Can you try to put a background color (not transparent) to your rootViewController.
from jtcalendar.
There's no Clear color on my RootVC, The Calendar is Over the Root... I'm solving this using ViewWill Disappear... but i don't know if this is a good solution.
-(void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
[self.calendarContentView setHidden:YES];
[self.calendarMenuView setHidden:YES];
}
For the problem when the calendar appear... is not a solution yet, right?
from jtcalendar.
It is not "the good solution" but it works and don't break anything. Keep this issue open, i will find out what's the problem when i will have more time.
from jtcalendar.
That Would be Awesome!!! Thanks So much!
Should I open another issue for when the calendar appear?
from jtcalendar.
No for that i'm aware, in 10 to 15 days i will fix that.
from jtcalendar.
Hello, I am receiving the same issue. When this is in a nav controller and I navigate back to my root VC the calendar lingers for a bit.
from jtcalendar.
Same problem here. Did someone have a look at this bug ? Bug Fix would be appreciated :)
from jtcalendar.
what i just did is hide the view on WillDissapear and show it en WillAppear, it's a solution while a better one come to us.
from jtcalendar.
I didn't have the time to check the problem yet.
from jtcalendar.
Hi, same problem here.
from jtcalendar.
Hello,
I same problem here,
After displaying calendar view in previous view for 1 OR 2 seconds, application is crashed.
I am using iOS8 SDK.
Thanks in advance.
from jtcalendar.
I had this issue too and my fix is:
--(void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
[self.calendarContentView setHidden:NO];
[self.calendarMenuView setHidden:NO];
}
--(void)viewWillDisappear:(BOOL)animated
{
[self.calendarContentView setHidden:YES];
[self.calendarMenuView setHidden:YES];
[super viewWillDisappear:animated];
}
from jtcalendar.
Fantastic artemkalinovsky it works great now.
Thank you very much.
from jtcalendar.
megabri, great!
from jtcalendar.
Also I found that checking "Clip Subviews" option for both calendar views fix this issue and you shouldn't do any stuff in you viewWillAppear and viewWillDisappear.
from jtcalendar.
I update my code by setting self.clipsToBounds = YES;
for both view, I thought it was already did.
Thank you @artemkalinovsky .
from jtcalendar.
Hi, I had the 'crash after back' bug in my navcontroller using storyboard.
Solved adding this to my view (some dirty but worked):
- (void)dealloc
{
self.calendar.dataSource = nil;
self.calendar.menuMonthsView = nil;
self.calendar.contentView = nil;
}
from jtcalendar.
Related Issues (20)
- Can't change locale and timezone on Swift
- Find the height of a calendar cell
- about self->_menuView HOT 1
- How to scroll only one week?!
- How to change JTCalendarDayView height HOT 2
- XCode 10 GM and Swift 4.2 fail to build HOT 1
- JTCalendar Scrolling to next month - How do I set a particular day fixed towards the left when scrolled to next month in the view in Objective C? HOT 1
- JTCalendar not working in Swift 4.2 HOT 2
- setDate not working HOT 1
- Multiple Date
- property: pageViewNumberOfWeeks have bug? HOT 1
- Not scrolling to today date. HOT 1
- Need changes in week view
- Type Mismatch: Signed to Unsigned
- Carthage 集成 JTCalendarDelegate.h 文件找不到
- Date labels disappear and reappear when scrolling between months
- Show left and right arrows instead of month name HOT 1
- How to make disable swipe? HOT 1
- Need help setting up multiple week selection on single cell click event .
- JTCalendar as Swift Package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jtcalendar.