Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

peacetrain67

macrumors member
Original poster
Dec 20, 2007
68
0
So, I'm pretty new to developing and coding as a whole (I'm completely new except for some TI-coding - which is pretty much a joke compared to this). I've been trying to port over my cousin's web site (or some of the basic functions anyway), and have done a LOT of trial and error stuff to understand some of the basics the last few days. At this point, I got a few different areas that I am totally stuck at:
A) The first page of the application (and only the first page) seems to be running about 20 pixels above where it should be (there is a 20-or-so pixel white line at the bottom of the page as seen in the picture). I have tested this on both the simulator and on my actual phone. View the picture if I haven't made sense. I tried turning the Status Bar on/off (since it seems like the whole page is just running behind it instead of below it and that may be problem), but when I did that it didn't change anything - the status bar stayed on the page even when I had "None" selected.I would prefer have the status bar on the page if possible.
B-Part 1) So far I have gotten a Log In Page and a Create Account Page going (with a third page - a basic UIWebView of the site in there for kicks), and am having trouble with the password on each of them. I understand how to "secure" the password field, but I use UITextFields and as soon as the application runs (even before the user has touched the TextField), the text inside is secure (I have each field identified by text inside of the field) and the user can't even tell it says "enter password here" - all they see is bullets.
B-Part 2) Although I have all the Log In/New Account Fields set up and such, as well as the basics of getting the Log In to actually function (thanks to a 'Riccomini' tutorial I would be happy to share), I still haven't totally finished the coding in that I have still have to "spawn a login thread." That is the only part of the 'Riccomini' Tutorial that wasn't covered, and it's obviously the most difficult. Any help on that coding or how to code that would be absolutely appreciated. That might spill over into the submitting each field's text to the web site to get a response for both the Log In and New Account Pages, which I would also need help with.
C-This may be the easiest function I am missing - but how do I get the return button to function so that in the app it removes the keyboard from displaying? (I can change a setting individually for each UITextField if I need to, if that is what's necessary - I have a hunch it has to do with some easy Inspector changes).

If anybody can help on ANY of this I would be very appreciative. I wish I could offer help in return, but I am a 99% novice at this stuff (as you can see from some of the basic questions). Keep in mind in your responses that I am a novice, so if you give me code or just say change "this," you have to tell me where I would place/go, etc. Thank you in advance.

*The picture is the bottom of my first page, showing how there is a white space below my UIToolbar, despite it all looking fine in Interface Builder.

**I have managed to set up the Create Account up to the spawn (ready to upload the data with the right code) also now, as well as
 

Attachments

  • Picture 5.png
    Picture 5.png
    18.4 KB · Views: 124
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.