Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-16-2011, 09:17 AM   #1 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 41
jhoncybpr is on a distinguished road
Default How can i move up my personal keyboard

Hi,
i've design a personal numeric keyboard.
The size is 320x480 and not 320x216 (like a standard keyboard).
My question is:

How can i show all keyboard height size on the screen and not only first 216 px?

I can use the notification to animation keyboard...

- (void)willShowKeyboardNSNotification *)aNotification
...


Please can you help me?

bye.
Thank's
jhoncybpr is offline   Reply With Quote
Old 05-16-2011, 10:16 AM   #2 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

how you show it currently? with inputView?
__________________
dany_dev is offline   Reply With Quote
Old 05-16-2011, 11:22 AM   #3 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 41
jhoncybpr is on a distinguished road
Default

Yes, input view.



This is the code:

Code:
// ...
numericKeyboard = [[NumericKeyboard alloc] initWithNibName:@"NumericKeyboardVC" bundle:nil];
[self setInputView:numericKeyboard.view];

//...


- (void)willShowKeyboard:(NSNotification *)aNotification {
    [UIView beginAnimations:@"numericKeyboard" context:nil];
    [UIView setAnimationDuration:1.5];
    self.inputView.transform = CGAffineTransformMakeTranslation(0,480-216); 
    [UIView commitAnimations];
}
The view don't change the position!?!??
How to make it?
Thank you!
jhoncybpr is offline   Reply With Quote
Old 05-18-2011, 03:01 AM   #4 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 41
jhoncybpr is on a distinguished road
Default

Please.. up^
Help me.

Quote:
Originally Posted by jhoncybpr View Post
Yes, input view.



This is the code:

Code:
// ...
numericKeyboard = [[NumericKeyboard alloc] initWithNibName:@"NumericKeyboardVC" bundle:nil];
[self setInputView:numericKeyboard.view];

//...


- (void)willShowKeyboard:(NSNotification *)aNotification {
    [UIView beginAnimations:@"numericKeyboard" context:nil];
    [UIView setAnimationDuration:1.5];
    self.inputView.transform = CGAffineTransformMakeTranslation(0,480-216); 
    [UIView commitAnimations];
}
The view don't change the position!?!??
How to make it?
Thank you!
jhoncybpr is offline   Reply With Quote
Old 05-18-2011, 03:46 AM   #5 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

post a sample project of the problem, i will take a look...
__________________
dany_dev is offline   Reply With Quote
Reply

Bookmarks

Tags
keyboard, nsnotification, size, willshowkeyboard

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 360
6 members and 354 guests
doffing81, dre, iOS.Lover, Kirkout, MikaelBartlett, PlutoPrime
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,663
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, LezB44
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:06 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0