You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Environment
Each 'viewForItemAtIndex' is a view controller's view in my case. I am using Time Machine Style.
Each Item have size = 500, 500.
I override '(CGFloat)carouselItemWidth:(iCarousel *)carousel' method for width change.
My OutCome
size of Items is successfully updated, but Time Machine style effect is destroyed.
Problem
Time Machine Effect destroyed. see the snapshots please.
Snapshot
In first snapshot, only one item is shown. in Second snapshot, other is also there but why its not appearing in first snapshot like time machine effect.
I will be very thankfull gentleman. please help.
The text was updated successfully, but these errors were encountered:
@aabantariqmurtaza this issue is that because the views are so large, the ones in front are obscuring the ones behind. You can correct for this by increasing the horizontal offset using iCarouselOptionTilt in the following delegate method:
- (CGFloat)carousel:(iCarousel *)carousel valueForOption:(iCarouselOption)option withDefault:(CGFloat)value
{
switch (option)
{
case iCarouselOptionTilt:
{
return1.0; // try different values between 0 and 1 to get the desired effect
}
default:
{
return value;
}
}
}
Hi,
My Environment
Each 'viewForItemAtIndex' is a view controller's view in my case. I am using Time Machine Style.
Each Item have size = 500, 500.
I override '(CGFloat)carouselItemWidth:(iCarousel *)carousel' method for width change.
My OutCome
size of Items is successfully updated, but Time Machine style effect is destroyed.
Problem
Time Machine Effect destroyed. see the snapshots please.
Snapshot
In first snapshot, only one item is shown. in Second snapshot, other is also there but why its not appearing in first snapshot like time machine effect.
I will be very thankfull gentleman. please help.
The text was updated successfully, but these errors were encountered: