LC 7.0.4 Simulator IOS 8.2 Xcode 6.2 and emoticons crash

Getting into LiveCode for iOS? Ask your questions here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
lodijoe
Posts: 20
Joined: Mon Sep 23, 2013 5:20 pm

LC 7.0.4 Simulator IOS 8.2 Xcode 6.2 and emoticons crash

Post by lodijoe » Mon Apr 13, 2015 6:01 pm

I have an IOS app that has kids use the keyboard with LC 7.0.4 and Xcode 6.2 on the IOS 8.2 Simulator to enter an answer to a math question. My app crashes on the Simulator if the emoticons key on the default or numeric keyboard is tapped. I can work around this if I have the app use mobileSetKeyboardType "number" so only the number pad is shown on the screen.
Tapping the emoticons key on the Search keyboard with Safari on the Simulator appears to work.

lodijoe
Posts: 20
Joined: Mon Sep 23, 2013 5:20 pm

Re: LC 7.0.4 Simulator IOS 8.2 Xcode 6.2 and emoticons crash

Post by lodijoe » Tue May 19, 2015 11:13 pm

My program still crashes when I use the keyboard with LC 7.0.5 and Xcode 6.3.2 on the IOS 8.3 Simulator to enter an answer on the Simulator if the emoticons key is tapped.

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am
Location: Bordeaux, France

Re: LC 7.0.4 Simulator IOS 8.2 Xcode 6.2 and emoticons crash

Post by Dixie » Thu May 21, 2015 9:53 am

If you want to be able to use emoticons within your stack then use a UI Native Text field instead of an LC field...:-)

joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

Re: LC 7.0.4 Simulator IOS 8.2 Xcode 6.2 and emoticons crash

Post by joel.epsteinBUS31vi » Mon May 25, 2015 2:08 am

I use the following in my stack's script to prevent the user from attempting to enter any unwanted characters. You might find it helpful:

Code: Select all

on keyDown pKey
   put "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz `1234567890-=[]\;',./~!@#$%^&*()_+{}|:<>?"&quote  into tTestText
   if tTestText contains pKey then
      pass keyDown
   end if
end keyDown
Joel

Post Reply

Return to “iOS Deployment”