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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-21-2008, 07:42 AM   #5 (permalink)
ChriB
New Member
 
Join Date: Apr 2008
Location: Germany
Posts: 154
Default

1) Documentation > "UITextField" > UITextField Class Reference:
Quote:
Conforms to
NSCoding
UITextInputTraits
NSCoding (UIView)
NSObject (NSObject)
"UITextInputTraits" > UITextInputTraits Protocol Reference:
Quote:
secureTextEntry
Identifies whether the text object should hide the text being entered.

@property(nonatomic, getter=isSecureTextEntry) BOOL secureTextEntry
Discussion
This property is set to NO by default. Setting this property to YES creates a password-style text object, which hides the text being entered.

Availability
Available in iPhone OS 2.0 and later.
Related Sample Code
GenericKeychain
UICatalog
Declared In
UITextInputTraits.h
2)
Code:
myImageView.userInteractionEnabled = YES;
UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(<#CGFloat x#>, <#CGFloat y#>, <#CGFloat width#>, <#CGFloat height#>)];
[button setImage:[UIImage imageNamed:@"TheImage.png"] forState:UIControlStateNormal];

Last edited by ChriB; 10-21-2008 at 07:50 AM.
ChriB is offline   Reply With Quote
 

» Advertisements
» Online Users: 632
19 members and 613 guests
aijo, alphy, apatsufas, armmzz, brianmethod, ckgni, claudia99, Dani77, devangvyas, Domele, drewrico, ghost, handmachine, hiddendemo, JamesCahall, Oral B, rrlemoine, SoulRed12, spiderguy84
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,786
Threads: 89,205
Posts: 380,600
Top Poster: BrianSlick (7,129)
Welcome to our newest member, lilianprice
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:15 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.