I am working with a custom view class that is NOT in a UIViewController
. Based on the text entered into the text field of my custom view, I want to present a UITableView
over the rest of the screen (nevermind frame size concerns).
This behavior is identical to what happens when you start tagging someone in a post on Facebook or Twitter, starting with the @ sign: A table view is presented with a list of users that you can select to tag.
So, from a view (not viewController), how can I present a UITableView
on top of the parent view that my custom view is displayed in? Is my only option to do this by adding a UITableView
to the UIWindow
? If so, how? I've read all the questions related to that, and none of them address my concerns.