Show keyboard with textField when pressing uibutton
<p>I have a button:</p>

<pre><code>@property (weak, nonatomic) IBOutlet UIBarButtonItem *addTaskBtn;
</code></pre>

<p>...</p>

<pre><code>// Add new task button action.
- (IBAction)addTaskBtnAction:(id)sender {

}
</code></pre>

<p>I want a keyboard with a textfield accessory toolbar to pop up when I press my button. That textfield should also become the firstresponder which causes kind of a paradox...</p>

<p>I find it impossible to show a keyboard without making it a first responder of an existing textfiled, but I am trying to create a textfield as a toolbar of a keyboard.</p>

<p>The best example for this is in this app: <a href="https://todoist.com/" rel="nofollow">https://todoist.com/</a> - they managed to do exactly what I am trying to achieve.</p>

<p>Any ideas?</p>