trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
04/14/13 02:22 AM (12 years ago)

Scringo with Carousel...

Seems a bit hit n miss, even with the Carousel set for vertical. Is it possible to make scringo work by button ONLY on the carousel? Thx
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/14/13 11:25 AM (12 years ago)
Apologies I have been in rainy scotland over the weekend Yes you can, Scringo seems to play havoc with other swipe gestures. You will need to set a navbar so it is visible so add these lines of code to the carousel plugin with the other imports add #import <Scringo/ScringoAgent.h> add this line in the view will appear method self.navigationItem.rightBarButtonItem = [ScringoAgent scringoActivationBarItem]; add these lines outside of any other curly braces, this stops the swipe -(void)viewDidAppear:(BOOL)animated{ [ScringoAgent pauseSwipe]; } then add this outside any other curly braces, This makes sure the swipe will re eanable the swipe when past the acrousel menu -(void)viewDidDisappear:(BOOL)animated{ [ScringoAgent resumeSwipe]; }
 
jvalley
Aspiring developer
Profile
Posts: 456
Reg: Feb 16, 2013
Green Bay,Wi
9,360
like
04/14/13 07:25 PM (12 years ago)
What are curly braces.. Sorry I have no idea
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
04/14/13 08:48 PM (12 years ago)
@jvalley " { } " (inside the quotes) are curly braces. And don't worry about it :)
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
04/14/13 10:11 PM (12 years ago)
Thanks Kittsy, will give this a whirl :O)
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
04/15/13 06:15 AM (12 years ago)
SHAMONE!!! yes, that works a treat :o) (my current app at present, i cant see need for carousel although i have toyed with it... but i hope to implement it in a future app or two)
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/15/13 06:25 AM (12 years ago)
no probs happy to help
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
04/16/13 01:35 AM (12 years ago)
Hi Kittsy... could you try something? I have tabbed layout with 3 tabs, the first being 'home' and is my carousel screen. Scrolling left/right works fine, button for scringo as you posted above works fine. Now, when i select one of my carousel items, or one of my tabbed items, they initially open ok. After that, it becomes very responsive or not at all, until i've swiped scringo fully out and back in, THEN my tabs/other page options work. Happens on all my pages. If i remove carousel from the Home tab, and put in my 'list with image', everything is back to normal. weird. If i remove the extra code to disable/re-enable the swipe, everything works fine - except obviously the carousel gets messed up with the swiping. cheers
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/16/13 01:48 AM (12 years ago)
I think there is a big clash with the carousel and scringo it's a bit hit and miss. I will test your set up and see if I can figure something out for you.
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
05/09/13 03:25 AM (12 years ago)
I am having the same problem. I cannot open my home tab unless i do a full swipe. Let me know if you guys have found a fix for this. Thanks Anthony
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.