IPhone SDK - Keyboard overlapps the UITextField
Hi!
I've got a problem with the iPhone SDK. I'm creating an UITableView with some UITextFields
The problem comes when editing the 3d cell with a text area. The keyboard appears over the field in edition mode, so you're not able to see the text you're typing.
It's quite weird because I have the table with scroll enabled but it doesn't scrolls below the 3d cell (even if I put 10 extra cells)
any clue on that?
No, I cannot scroll anything with two fingers (XCode emulator)
Similar Messages
-
IPhone SDK - What is the equivalent of a combo box
I have a screen where there are quite a few items which are of the multiple-choice type. In other platforms i use a combo box (pick lists) to do this.
On the iPhone SDK the only thing that comes close is the UIPicketView which is ugly IMHO. it takes too much real estate and too heavy.
Is this is the only control available now?
Also does the UIPicker come with an associated control which will launch the picker? What i mean is on other platforms and on the web there is a text field with a button with a down arrow next to it. Clicking either on the text field or the down arrow drops the list down. Is there a similar control on the iPhone which when clicked launches the picker OR do i have to create a button or a custom view which will launch the picker?
Thanks for reading this and for your feedback.
-TRSI do not believe there is an equivalent of -D in the DB JVM, a possible solution is:
Load a properties file into the DB using Loadjava, then open this file from your Java code using Properties.load(), then iterate the properties calling System.setProperty().
Chris -
IPhone SDK: access outside the sandbox?
In reading the docs for the iPhone SDK the sandbox aspect makes it sound like it will be impossible to create utilities that manipulate the system, other apps files, etc. Has anyone gotten a better read on this?
For example if you wanted to build something that would crawl the filesystem (e.g. a backup tool), how would you do it?I don't know about the file system... but you can access pictures from the photos and addresses from the address book (music?) so some sort of rudimentary backup could happen... but then, if you can only backup to the same hard drive you are using it's not much use.
-
Iphone developer program or free iphone sdk - where is the difference?
I am a bit confused.
on one hand I can download the free iphone sdk on the other hand there is the $99 iphone developer program.
where is the difference?And the Developer Program isn't the computer kind of program. It is the other kind, meaning "a plan or system under which action may be taken toward a goal." It is how Apple tracks those who want seriously want to distribute to through the iApp Store.
-
Downloaded iPhone SDK, ran Xcode, no option for iPhone - Mac OS only!
Hi everyone,
I downloaded the free iPhone SDK and ran the installer. Whenever I launch Xcode however, there is no tab for iPhone applications - only Mac OS. I took a peak inside the packages folder in the download and spotted files named "iphone SDK", so I'm confused.
Any idea on why Xcode runs but there is no option for iPhone?
Thanks,
XenoHello,
On my PowerPC G5 I have a similar issue where I installed Mac OS X 10.5.6, but after installing the iphone SDK I do not see any refs to iphone when in Xcode.
I even tried the suggestion here:
http://3by9.com/85/dont-have-an-intel-machine-but-want-to-code-for-the-iphone-an yway-follow-these-steps/
This however, resulted in the same issue.
Any suggestion on how to resolve this would be most appreciated. -
IPhone SDK installation problem
Hi All,
I have a problem installing the iPhone SDK.
In the installation process, "Installation Type" page, the page you can choose modules either you want to install or not. I see "iPhone SDK" module is listed, but i couldn't select it, it's greyed out and it is not checked by default. So i had to continue like this, after installation, i couldn't open any iPhone sample code at all. XCode said i don't have iPhone SDK installed.
I downloaded the SDK from ADC days ago.
I upgraded my mac to 10.5.4, also upgraded iTunes to 7.7
are there any other prerequisites?excuse me i'm quite new to this community.
you mean the iphone sdk can not be installed on apple's own hardware?
is apple switching the focus to x86 architecture? are there any background information that i should take a look at?
appreciate it. -
I just bought an iPhone 3g. I want to
get into programming on my MacBook
Pro, for my iPhone. I was looking into
the apple website, and I saw a download
for iPhone sdk. On the download they
List some of the tools you will get with
the dowload. My question is, I already
have the developer tools, on my
computer. And some of the tools are
Like Xcode and interface builder. Which
I know I have, on my MacBook pro.
I don't know if I have the iPhone
simulator, though would this come with
the developer tools? I don't want two
versions of Xcode on my computer.
Is there a way to just download certain
programs from the iphone sdk?
Any help would be appreciated.I don't believe there are any iPhone tools on the install disks. You should get the latest builds from http://developer.apple.com/
-
Problem in downloading IPhone SDK
Hi Everybody,
I am trying to download the IPhone SDK for learning the iPhone application development. I have created an apple id. But whenever i try to login to the iPhone dev center (using the url: https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/wa/login?appIdKey=D635F5C 417E087A3B9864DAC5D25920C4E9442C9339FA9277951628F0291F620&path=//iphone/login.ac tion) I get the following message.
We are processing your request. Please wait a few moments then refresh this page.
I am completely new to this area. Can anybody please help me?
Thanks and Regards,I have registered and cannot download the iPhone SDK at
http://developer.apple.com/iphone/download.action?path=%2Fiphone%2Fiphonesdk_3.1.3__final%2Fiphone_sdk_3.1.3_with_xcode_3.2.1__snow_leopard_10m2003a.dmg
Safari says "The operation could not be completed"
Should I get that file via torrent? If so, is there a checksum/hash I should check? -
IPhone SDK: How can I disable the keyboard on a UITextField
I would like to disable to keyboard for a UITextField. When someone touches the textfield, I would like them to be able to manipulate the cursor inside the field but I do not want a keyboard to appear.
In other words, simply unchecking the enable option in IB is not going to work. The field needs to be enabled but I would like the keyboard to stay hidden.
Any ideas?Check UITextFieldDelegate textFieldShouldBeginEditing. Return NO and see what happens. I'm not sure if that will fix it though.
-
How to control the movie player in iPhone SDK 2.0?
Hello, everybody!
With the third beta version of iPhone SDK I finally played a movie with the example from the manual. But I need to seek in the movie and control the playing process. With the MPMoviePlayerController class this is impossible, because it has four properties (backgroundColor, contentURL, scalingMode, userCanShowTransportControls) and only three instance methods (initWithContentURL, play, stop). The notifications are two (MPMoviePlayerScalingModeDidChangeNotification, MPMoviePlayerPlaybackDidFinishNotification). How can I know what is the current position of the head and how can I change it? I can't find other classes, which can play a movie. Can somebody help me?
StefanHeoU wrote:
Hi Tsvyatkov,
Do you HAVE [these problems|http://discussions.apple.com/thread.jspa?threadID=1486343&tstart=0] while playing video playback?
- The keyboard doesn't appear after playing the video (It works great before playing the video)
- When you play the video, iphone simulator turns in paysage mode. Then when you stop it, it doesn't turn back (SDK beta 3). It worked fine with the SDK beta 1, 2.
- If you chose a video from a list (UITableView) and you stop the video, then come back to the list, the item is still selected with the blue color.
thanks
HeoU
Yes! I have the same problems! And with the older versions of iPhone SDK I didn't. -
Dismissing the keyboard in the iPhone 101 Tutorial
Is anyone able to dismiss the keyboard in creating the app in the iPhone 101 tutorial? I have literally copied and pasted the code from the View Controller implementation and interface files, and the keyboard still doesn't go away when I click "Done." In fact, if I place a breakpoint in the textFieldShouldReturn method, the app doesn't stop and the debugger never breaks. It's like the UITextField never fires off textFieldShouldReturn. I've even tried to set the view as the delegate, as other threads have suggested:
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
textField.delegate = self;
changeGreeting, though, works just fine. This is in the simulator using Beta 5, by the way. I haven't tried it on a device just yet.
Here's my controller's interface code:
#import <UIKit/UIKit.h>
@interface MyViewController : UIViewController <UITextFieldDelegate> {
IBOutlet UITextField *textField;
IBOutlet UILabel *label;
NSString *string;
@property (nonatomic, retain) UITextField *textField;
@property (nonatomic, retain) UILabel *label;
@property (nonatomic, copy) NSString *string;
- (IBAction)changeGreeting:(id)sender;
@end
And here's my controller's implementation code:
#import "MyViewController.h"
@implementation MyViewController
@synthesize textField;
@synthesize label;
@synthesize string;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
textField.delegate = self;
if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
// Initialization code
return self;
- (IBAction)changeGreeting:(id)sender {
self.string = textField.text;
NSString *nameString = string;
if ([nameString length] == 0) {
nameString = @"World";
NSString *greeting = [[NSString alloc] initWithFormat:@"Hello, %@!",
nameString];
label.text = greeting;
[greeting release];
- (BOOL)textFieldShouldReturn:(UITextField *)theTextField {
if (theTextField == textField) {
[textField resignFirstResponder];
return YES;
Any help would be appreciated.Thank you akollegger! I found that I needed to make sure you have all the appropriate connections. In the "Configuring the View" page (http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhone 101/Articles/05_ConfiguringView.html), I found that I had missed the following line in the "Making Connections" section:
Connect the label and textField outlets. Control click File’s Owner to display a translucent panel that shows all the available outlets and actions, then drag from the circle to the right of the list to the destination to make the connection.
The picture shows you how to connect the label, but the text tells you that you need to connect both the label and the textField outlets.
When I went back and looked at the outlets for MyViewController (double click on MyViewController.xib, Ctr-click on "File's Owner"), I noticed that I had an outlook connection from "label" to a Label and mousing over it highlighted the label in the View. It took a while to realize that I was missing the connection between "textField" and the UITextField in the View. Without that connection, there is no routing of the textFieldShouldReturn event from the keyboard.
To fix the problem, drag from the open circle next to "textField" to the UITextField in the View. Voila!
Hope this helps!
- Peter -
[iPhone] How to change the type of the displayed when editing a UITextField
Hello,
How can I set the keyboard type of a UITextField to "Phone Pad" without IB?
Message was edited by: TomCarbonok found out...
the UITextField has a keyboardType property that can be set to
UIKeyboardTypePhonePad, etc. -
The mic icon disappeared on my iPhone 4 keyboard how do I get it back
The mic icon disappeared on my iPhone 4 keyboard how do I get it back?
Should be Siri microphone. Go to Settings>>General>>Siri and turn Siri on.
But in your signature says you have iPhone 4, right? Just iPhone 4S and iPhone 5 have Siri (just talking about iPhones, ok?! I know that iPad and iPods also have this). -
Are there any other left eye dominant (or left handed) iPhone users that experience problems with the touch screen keyboard selecting the letter next to the one you'd intended..?
It's either hand right or left.
I have the same issue myself. Not sure if it's b/c my fingers are too big or if I'm really missed the letter on the keyboard. -
Does iPhone SDK support the feature of data transfer via Bluetooth or USB?
Hi,
I'm developing a application in which I want a feature for data transfer either using Bluetooth or USB.
Does iPhone SDK support this feature of data transfer via Bluetooth or USB?
Please help me.
Thanks.The SDk doesn't deal with BlueTooth or USB. Your only option is wireless data. (WiFi, 3G, etc)
Maybe you are looking for
-
Does anyone know how to resolve the problem of apps not being able to download in the App Store? After the IOS 6 update I haven't been able to download any apps.
-
How to set cookie value in one page and retrieve in another page using setA
How to set cookie value in one page and retrieve in another page using setActionListener? I have tried with following code srcpage.jspx->destpage.jspx srcpage.jspx <af:table value="#{bindings.DepartmentsView1.collectionModel}" var="emp" rows="#{bindi
-
UIScrollView Zooming - Can't get it to work?
Hello, I've been having great success with the iPhone SDK but for some reason I just can't get the zooming to work with a UIScrollView. I've implemented the delegate but the methods are never being fired.. but scrolling works fine. What gives? Thanks
-
Incorrect Default Gateway for Clients using a Concentrator
Hey all, Hopfully an easy one - I'm trying to configure a VPN Concentrator for use with the old VPN Client for an IPSec CVPN. The clients connect fine, but they are getting the incorrect default gateway during the address assignment. My address pool
-
It looks this problem is not uncommon... I have a PostScript file that is generated by a 3rd party product. Distiller converts it to PDF, but I cannot search or copy a text. It looks this is because the ToUnicode CMap information is not readily avail