Discussion Forums  >  Uncategorized

Replies: 16    Views: 410

Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
04/14/11 08:37 AM (14 years ago)

Call Us feature not working in app

Hey Guys, I Ran and tested app in all enviroments and i am ready to submit it itunes but, the call feature is not working. Nothing happens when i hit the tab with cell number. Any suggestions?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/14/11 09:03 AM (14 years ago)
Tabs load 'Screens' and will not trigger actions like Call Us, Email Us, etc. Put a menu on the tabs homescreen. Add a Call Us item to the menu.
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
04/14/11 09:13 AM (14 years ago)
Sorry, Wrong word used in last thread. I meant to say button .It is structured exactly as you mentioned in the above thread. I have a contact tab and in the tab is another menu with a call us option.
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
04/14/11 09:14 AM (14 years ago)
Its a contact info menu.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/14/11 09:18 AM (14 years ago)
Ok...cool. This is strange. Call Us buttons should trigger a confirmation. 'Do you want to call this number' type of message. Are you getting this confirmation, or literally nothing is happening?
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
04/14/11 09:21 AM (14 years ago)
Confirmation number and Do Not Call buttons both populate. It is when i hit the confirmed number the button dissapears and nothing happens.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/14/11 09:29 AM (14 years ago)
Got it. There are a few comments in a few threads about this. On some devices and simulators (the behavior is strange) the 'hit-spot' on the buttons are not exactly as you would expect. Tapping the bottom edge of a button or the top edge of the button, or the middle of the button seems to produce unexected results. I'm thinking maybe it looks like your tapping the call button but iOS is picking up the tap for the Cancel button which is why the confirmation closes. It may think you're cancelling when you think your're calling. Not sure, just a hunch. Test this by tapping a few times in various places above and below the buttons to see if you can consistently reproduce the behavior. It's almost like Apple is assuming our fingers are too big or something! I'll bet this is whats going on. Lastly... and the bogus part... source-code cannot change or control these hit-spots when the buttons are placed in a Confirmation Alert that slides up. This is the alert we are all used to seeing in lots of places in iOS. iOS controls the buttons...we control what they do ;-)
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
04/14/11 09:33 AM (14 years ago)
No good. I ran out of places to tap. Very weird
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/14/11 09:39 AM (14 years ago)
No worries...worth a shot. I'll get a look at it now. What app is it?
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
04/14/11 09:44 AM (14 years ago)
dj greg groovez
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/14/11 09:48 AM (14 years ago)
Cool. Downloaded...looked at it on Sim and Device. Works on device, not on simulator. On the simulator it just closes because no phone is available. On device it launches the dialer. Tested on 3GS and iPhone4. What type of device are you using? Note: I'm guessing you're still working out the color-pallette for menus and such. Some have white text on white background and some have black text on black background. Hard to see ;-)
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/14/11 09:52 AM (14 years ago)
Got it to fail on a different device.... stay tuned...
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/14/11 09:59 AM (14 years ago)
OK... small adjustment necessary in your project. The next time you download the project (if you ever need to again) this will already be fixed - you won't have to do this again. BT_Layout folder > BT_viewControllerManager.m. Scroll down to about line 619 and look for this line: delegate:nil cancelButtonTitle:nil destructiveButtonTitle:NSLocalizedString(@'callCancel', 'Do Not Call') Set the delegate to self instead of nil, like this: delegate:self cancelButtonTitle:nil destructiveButtonTitle:NSLocalizedString(@'callCancel', 'Do Not Call') All you are changing is the word nil to the word self. Re-compile..should work. Super-duper long story about why this is necessary sometimes... too much to explain here. Unless you're very interested in all the ins-n-outs of iOS and how it's screwy sometimes, there isn't any sense in trying to explain it. Be sure to re-post if this doesn't fix it.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
04/14/11 11:07 AM (14 years ago)
Working on my iphone fine now...how about you RAD ROC?
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
04/14/11 11:31 AM (14 years ago)
testing
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
04/14/11 11:45 AM (14 years ago)
AS ALWAYS, YOUV'E SUCCESSFULLY MANAGED TO SOLVE MY PROBLEM. CHEERS.
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
04/15/11 03:38 AM (14 years ago)
Thanks for this tip. Now I also got the in app call function to rock´n´roll :)
 

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.