Results 1 to 6 of 6
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 ...
  1. #1
    Senior Professional Array

    Join Date
    Sep 2007
    Posts
    130
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default [iPhone SDK] Anyone had a chance with Beta 5 and HelloWorldClassic?

    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???



  2. #2
    Professional Array

    Join Date
    Apr 2008
    Posts
    64
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    Quote Originally Posted by yalag View Post
    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.

  3. #3
    Senior Professional Array

    Join Date
    Sep 2007
    Posts
    130
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    any examples on how to create text fields programmatically, I have only used the IB

  4. #4
    Newbie Array

    Join Date
    May 2008
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    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

  5. #5
    Developer Array javacom's Avatar

    Join Date
    Mar 2008
    Posts
    304
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    28

    Default

    Quote Originally Posted by yalag View Post
    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.


  6. #6
    Newbie Array

    Join Date
    May 2008
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    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

  1. Replies: 0
    Last Post: 11-01-2010, 06:30 AM
  2. MacNN: iPhone has 80% chance of reaching T-Mobile US this fall
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 07-21-2010, 11:10 PM
  3. Replies: 1
    Last Post: 01-16-2008, 03:40 AM
  4. Chance of unlocking the iPhone fw 1.1.1 ?
    By enzoronald in forum General
    Replies: 3
    Last Post: 10-03-2007, 07:46 PM
  5. Any chance of getting the iPhone replaced?
    By klturi421 in forum General
    Replies: 1
    Last Post: 09-28-2007, 04:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 09:11 AM.
twitter, follow us!