Discuss [iPhone SDK] Anyone had a chance with Beta 5 and HelloWorldClassic? at the iPhone Developer Exchange - Hackint0sh.org; I tried to play around with the iphone SDK, and downloaded the HelloWorldClassic from the ...
-
Senior Professional
Array
-
-

Originally Posted by
yalag
I tried to play around with the iphone SDK, and downloaded the HelloWorldClassic from the developer.apple.com/iphone site. It worked fine in SDK4, but in SDK5 the app would load but crash as soon as you click on the text field.
Any ideas???

It's one of the known issues Apple listed:
Text fields created in Interface Builder will cause a crash when they become first responder when run in the simulator. These same text fields will behave properly on the device. To work around either debug purely on devices or create your text fields programmatically.
Unfortunately, HelloWorldClassic is created in IB.
-
-
Senior Professional
Array
any examples on how to create text fields programmatically, I have only used the IB
-
Niiro,
Thanks for supplying the answer to yalag. I also had this problem but SDK5 was the first version I have installed. I was wondering if I had installed something wrong. This is also my first mac so I have a lot to learn.
-Neil
-
-
Developer
Array

Originally Posted by
yalag
any examples on how to create text fields programmatically, I have only used the IB
If you have the first demo version (SDK first version) of HelloWorld Classic, it is a non-IB version.
-
Well I went looking around apple's dev forum today. It looks like interface builder puts in a crap number for IBUIKeyboardType. You can fix this by editing the .xib file with a text editor and changing IBUIKeyboardType value to a 1, the value for an ascii keyboard.
<int key="IBUIKeyboardType">1</int>
or simply delete the line, this is the default keyboard.
<int key="IBUIKeyboardType">4?????????</int>
After this the interface builder will work fine and you can change keyboard types all you want.
-Neil
-
Similar Threads
-
By hackint0sh in forum Latest Headlines
Replies: 0
Last Post: 11-01-2010, 07:30 AM
-
By hackint0sh in forum Latest Headlines
Replies: 0
Last Post: 07-21-2010, 11:10 PM
-
By jnd3344 in forum General
Replies: 1
Last Post: 01-16-2008, 04:40 AM
-
By enzoronald in forum General
Replies: 3
Last Post: 10-03-2007, 07:46 PM
-
By klturi421 in forum General
Replies: 1
Last Post: 09-28-2007, 04:46 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks