On 20 Aug 2014, at 05:26, Luther Baker lutherba...@gmail.com wrote:
I'd like to place a UITextField in the center of a UITableViewCell such
that initially, the textfield extends to all four sides.
But ... I'd also like to make it AccessoryView friendly. Namely, when the
accessory appears (or is always appearing) I want the aforementioned
textField to shrink and not overlap the accessory. I want my textField's
TRAILING attached to the accessoryView's LEADING.
Thoughts? My initial pass complains about objects in different hierarchies.
I would likely initially retain a reference to the UITextField trailing
constraint.
When the accessory view is displayed delete the above constraint and replace it
with one that links the textview to the accessory.
J
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com