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 09-13-2011, 04:31 AM   #1 (permalink)
Registered Member
 
Join Date: Sep 2011
Posts: 2
OsTaLaKaR is on a distinguished road
Unhappy Custom keyboard - UITextField

I have make a toolbar for the keyboard. It's contains a uitextfield and two button.

When a user tape type character on a uitextfield in the main view, I upgrade the text also on the uitextfield in the toolbar.

On simulator iphone/ipad it's good. But when i run on a real device the textfield in the toolbar don't be refresh.
But if i check my toolbar subviews:

Code:
<UITextField: 0x18b050; frame = (12 7; 838 31); text = 'fhnhnhnhnhnhnhn'; clipsToBounds = YES; opaque = NO; autoresize = W+BM; layer = <CALayer: 0x1f8640>>
My textfield contains the good text. But it's not refresh

an idea?

[[[[tempView subviews]objectAtIndex:0]subviews]count] == my tool bar

Code:
 for(int k = 0; k < [[[[tempView subviews]objectAtIndex:0]subviews]count]; k++) {
                            if([[[[[tempView subviews]objectAtIndex:0]subviews]objectAtIndex:k] isKindOfClass:[UITextField class]]){
                                
                                UITextField *tempTxtfield = [[[[tempView subviews]objectAtIndex:0]subviews]objectAtIndex:k];
                                [tempTxtfield setText:@"test"];
OsTaLaKaR is offline   Reply With Quote
Old 09-13-2011, 07:56 AM   #2 (permalink)
Registered Member
 
Join Date: Sep 2011
Posts: 2
OsTaLaKaR is on a distinguished road
Default

no idea?
OsTaLaKaR is offline   Reply With Quote
Reply

Bookmarks

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: 400
9 members and 391 guests
7twenty7, Eclectic, eski, fiftysixty, JackReidy, teebee74, tim0504, UMAD, yuncarl28
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,672
Threads: 94,121
Posts: 402,904
Top Poster: BrianSlick (7,990)
Welcome to our newest member, yuncarl28
Powered by vBadvanced CMPS v3.1.0

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