Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I guess, the problem would be in that line:</p> <pre><code>vc = [[ActionsViewController alloc] init]; </code></pre> <p>if you have a NIB file, you should load the <code>UIViewController</code> with using it.</p> <pre><code>vc = [[ActionsViewController alloc] initWithNibName:@"ActionViewController" bundle:nil]; // the NibName must be the exact name of XIB file without extension. </code></pre> <hr> <p><strong>OR/AND</strong></p> <p>you should set the <code>popoverContentSize</code>:</p> <pre><code>[actionController setPopoverContentSize:vc.view.frame.size]; </code></pre> <p>I hope it helps a bit for you.</p> <hr> <p><strong>UPDATE:</strong></p> <p>it seems it is not an <code>UIPopoverController</code> problem, just a simple <code>UITableViewController</code> delegate issue.</p> <p>in that line:</p> <pre><code>actionsController.delegate = self; </code></pre> <p>you should set that class as delegate which implements the <code>UITableViewDelegate</code>. basically it is the <code>UITableViewController</code> itself like</p> <pre><code>actionsController.delegate = actionController; </code></pre> <p>therefore you should <strong>not</strong> replace this in that case if you haven't implemented the delegate callback methods in the <code>self</code> which the new delegate class is. you simple steal the chance from the class which was really delegated to answer the callbacks, and in you new delegate class you don't answer the callbacks.</p> <p>this would be the reason why you are seeing the empty table, without the datas.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload