Strange behavior with storyboard
Hello, I'm trying to use this library in this so In mainView.h file that inherits from ARSegmentPageController I've added this code :
-(id)initWithCoder:(NSCoder *)aDecoder{
return [self init];
}
This will allow to instantiate the view from storyboard as in the programmatically way *mainView view = [[mainView alloc] init]
And then in storyboard I set parent class of Main viewController to mainView.h
This worked but there's some strange behavior the segmentedController was duplicated one move up and down normally and the other stay in same initialPosition check the image :

you can check out the dev branch now, i have add some code , but not test it.
Thank's it solve the issue but I get this error now :
Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSLayoutConstraint:0x7fd9fab0aca0 V:[ARSegmentPageHeader:0x7fd9fab04f70(200)]>",
"<NSLayoutConstraint:0x7fd9fab0bac0 V:[ARSegmentPageHeader:0x7fd9fab04f70(194.5)]>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x7fd9fab0aca0 V:[ARSegmentPageHeader:0x7fd9fab04f70(200)]>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
Also I've just noticed that that the bottom of the view is not properly shown and the bottom of tablevew Is hidden under the tab bar controller
Sorry for reply you later, I'm a little busy this several days, but I will fixed this issue as soon as possible.
发自我的 iPhone
在 2015年6月8日,22:32,Kaouach Ahmed Alaeddine [email protected] 写道:
Also I've just noticed that that the bottom of the view is not properly shown and the bottom of tablevew Is hidden under the tab bar controller
— Reply to this email directly or view it on GitHub.
got the same problem... inside a tabbar app, it falls behind the tabbar...