开发者

How can I use a UITextfield to call "when clicked" a UITableview

开发者 https://www.devze.com 2023-02-09 10:00 出处:网络
Textfield to call when clicked a UITableview, then return to the calling Textfield the value of the string value of cell selected in UITableview?

Textfield to call when clicked a UITableview, then return to the calling Textfield the value of the string value of cell selected in UITableview?

Sorry but I have searched and googled this and still can't seem to find any guidance. Also this 开发者_如何学Gois for an iPhone app only, so I can't utilise popovers

Is this possible?


When you select any row from table insert one more row(cell) in table(next to the selected cell) which having UITextField as part of context!

This method get call on selection of cell - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {}

you can remove the cell once your text entries get finished!, for that add event on UITextField.

events name-UIControlEventEditingDidEnd || UIControlEventEditingDidEndOnExit

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号