0
나는 정상적인 HTML 텍스트 필드를 Ipad의 범프 드 필드로 변환하는 방법을 찾고 있습니다. 그래서 사용자가 Ipad의 필드에 숫자를 입력하기 위해 클릭하면 Ipad에 널빤지가 자동으로 표시되고 사용자는 문자 패드에서 숫자 패드를 선택하지 않아도됩니다.Ipad 번호 필드 코드
감사합니다.
나는 정상적인 HTML 텍스트 필드를 Ipad의 범프 드 필드로 변환하는 방법을 찾고 있습니다. 그래서 사용자가 Ipad의 필드에 숫자를 입력하기 위해 클릭하면 Ipad에 널빤지가 자동으로 표시되고 사용자는 문자 패드에서 숫자 패드를 선택하지 않아도됩니다.Ipad 번호 필드 코드
감사합니다.
다음 열거는 키보드 유형에 대해 정의 -
typedef enum {
UIKeyboardTypeDefault, // Default type for the current input method.
UIKeyboardTypeASCIICapable, // Displays a keyboard which can enter ASCII characters, non-ASCII keyboards remain active
UIKeyboardTypeNumbersAndPunctuation, // Numbers and assorted punctuation.
UIKeyboardTypeURL, // A type optimized for URL entry (shows ./.com prominently).
UIKeyboardTypeNumberPad, // A number pad (0-9). Suitable for PIN entry.
UIKeyboardTypePhonePad, // A phone pad (1-9, *, 0, #, with letters under the numbers).
UIKeyboardTypeNamePhonePad, // A type optimized for entering a person's name or phone number.
UIKeyboardTypeEmailAddress, // A type optimized for multiple email address entry (shows space @ . prominently).
#if __IPHONE_4_1 <= __IPHONE_OS_VERSION_MAX_ALLOWED
UIKeyboardTypeDecimalPad, // A number pad with a decimal point.
#endif
#if __IPHONE_5_0 <= __IPHONE_OS_VERSION_MAX_ALLOWED
UIKeyboardTypeTwitter, // A type optimized for twitter text entry (easy access to @ #)
#endif
UIKeyboardTypeAlphabet = UIKeyboardTypeASCIICapable, // Deprecated
} UIKeyboardType;
당신은 당신의 필요에 따라 적절한 키보드 유형을 선택할 수 있습니다. 텍스트 필드와 동일 -
textField.keyboardType = UIKeyboardTypeNumberPad;
안녕하세요 cbuckley, 어떻게 PHP 문서에 삽입 하시겠습니까? 그것은 단지 나에게 오류를 준다. – user1479224
html 텍스트 필드 란 무엇을 의미합니까? – rishi