bfoutty
Code is Art
Profile
Posts: 185
Reg: Jun 12, 2011
Youngstown, OH
12,650
01/18/15 09:59 AM (9 years ago)

Interactive Quiz plugin causing app crash on iPad for iOS 8

I am updating one of my apps to iOS 8. The Interactive Quiz is causing the app to crash on a physical device. The app runs on the iOS iPad simulator on my mac, runs on a physical iPhone. However, when I load onto my iPad Air and Air 2 I get a Thread 1 signal SIGBART error. In my debug console I get this: Assertion failed: (CGFloatIsValid(x) && CGFloatIsValid(y)), function void CGPathMoveToPoint(CGMutablePathRef, const CGAffineTransform *, CGFloat, CGFloat), file Paths/CGPath.cc, line 254. (lldb) It refers to line 465 in the BT_screen_quiz.m: UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:borderRect byRoundingCorners:UIRectCornerAllCorners cornerRadii:CGSizeMake(cornerSize, cornerSize)]; I have tried changing the border size and a couple of other small items - all to no avail. Anybody any ideas?
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
01/18/15 11:44 AM (9 years ago)
Hey Brian! Is this a BTv2 or BTv3 iOS app? I had to update my app to V3 for things to make nice on iPad IOS 8
 
bfoutty
Code is Art
Profile
Posts: 185
Reg: Jun 12, 2011
Youngstown, OH
12,650
like
01/18/15 11:50 AM (9 years ago)
Hi Ian. v3 on self-hosted. v 1.10 for the quiz plugin.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
01/18/15 11:54 AM (9 years ago)
Hmmm. working nicely on my iPad air. v1.10 for me too
 
bfoutty
Code is Art
Profile
Posts: 185
Reg: Jun 12, 2011
Youngstown, OH
12,650
like
01/18/15 12:47 PM (9 years ago)
Fixed! I had put a loading screen in and that caused the problem. As soon as I took that launch screen (which was a png) out everything worked. Not completely sure why since it did not effect the app on a phone, but it works now.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
01/18/15 01:01 PM (9 years ago)
huh, cool!
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/18/15 02:54 PM (9 years ago)
Hi @bfoutty, I am currently working on an app that uses that plugin. Could you confirm what you mean by 'launch screen' for me please? Are we talking splash screen plugin?
 
bfoutty
Code is Art
Profile
Posts: 185
Reg: Jun 12, 2011
Youngstown, OH
12,650
like
01/18/15 03:22 PM (9 years ago)
Alan, I am referring to the white loading screen - not a splash screen. I use a full screen png instead of the blank white screen when the app first launches. In order to do this you have to modify the BT_loadConfigDataViewController.m file. It was that modification that caused the problem with the quiz plugin. You can read about this loading screen modification here: https://www.buzztouch.com/forum/thread.php?tid=C02498F2E8BB74B6B98EBBB&sortColumn=FT.id&sortUpDown=DESC&currentPage=2. I will tell you that I know that this loading screen modification does not effect the Advanced Quiz Plugin as I use that quiz plugin as well in some of my other apps.
 

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.