Coocoo4Cocoa
Coocoo4Cocoa

Reputation: 50816

UITextField - clearButtonMode only in code, not in IB?

Is there anyway possible to set the clearButtonMode for a UITextField in Interface Builder? Is this only possible to do code? I do not see it as an option in the UITextField attributes panel.

Upvotes: 2

Views: 2830

Answers (1)

Kristopher Johnson
Kristopher Johnson

Reputation: 82535

There is no way to do it in Interface Builder (as of the 2.2 SDK)

See Adding the "Clear" Button to an iPhone UITextField

UPDATE: As of the latest version of XCode/SDK this property is now supported in IB.

Upvotes: 2

Related Questions