Closed Piero87 closed 11 years ago
Maybe you calendar view is inside another view? On resize it may become out of superview bounds...
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...
this is your demo project with my edit, so you can see the problem:
https://www.dropbox.com/s/hczoxxrhioi9sfs/ABCalendarPicker-master.zip
setting this in the view in interface builder seems to work...
Hello, i can't understand why i can't press the last line of days:
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?