k06a / ABCalendarPicker

Fully configurable iOS calendar UI component with multiple layouts and smooth animations.
MIT License
710 stars 119 forks source link

Can't press last line of days #20

Closed Piero87 closed 11 years ago

Piero87 commented 11 years ago

Hello, i can't understand why i can't press the last line of days:

schermata 2013-08-04 alle 16 33 11

it's like disabled, the line of the 18, works, instead if i press one day of the 25 line (25 or 26 etc...) seems disabled, for make that line of days working i have to double tap a day (not in that line) to change in the three week view, then double tap again to restore in 4 week view and now that days works...i can't understand why, your demo project works, and if i in your demo project i create a new UIViewController with a Calendar Picker view just like you did, doesn't work a have the error i'm explained, any idea?

k06a commented 11 years ago

Maybe you calendar view is inside another view? On resize it may become out of superview bounds...

Piero87 commented 11 years ago

i think the problem is with UITabBarController, in your project demo i have created a UIViewController, and insert in interface builder a UIView and set class to ABCalendarPicker just like you do in the ABViewController, then i insert the two view in the app delegate in a UITabBarController, and your view works, my have the problem i explained above, if i remove the tabbarcontroller and i do in app delegate self.window.rootViewController = myView, all works, so i think is the UITabBarController, but i can't understand why your works and mine not...

Piero87 commented 11 years ago

this is your demo project with my edit, so you can see the problem:

https://www.dropbox.com/s/hczoxxrhioi9sfs/ABCalendarPicker-master.zip

Piero87 commented 11 years ago

schermata 2013-08-04 alle 19 57 14 setting this in the view in interface builder seems to work...