UISearchController SearchBar重叠状态栏和空白

时间:2015-12-14 01:39:47

标签: uisearchcontroller

我有一个带有搜索按钮的视图控制器作为导航项的右侧栏按钮项。按下搜索按钮时,我想要显示一个UISearchController。以下是相关代码:

$i = 1;
    while ($row = mysql_fetch_assoc($result))
    {
    ?>
        <tr>
        <td width="19"><?php echo $i ?></td>
        <td colspan="4"> <?php echo $row["question"] ?></td>
        <?php

        echo '<td width="42"><Input type="Radio" id="1" Name="point' . $i . '" value="1"  />1</td>';
        echo '<td width="42"><Input type="Radio" id="2" Name="point' . $i . '" value="2"  />2</td>';
        echo '<td width="42"><Input type="Radio" id="3" Name="point' . $i . '" value="3"  />3</td>';
        echo '<td width="42"><Input type="Radio" id="4" Name="point' . $i . '" value="4"  />4</td>';
        echo '<td width="42"><Input type="Radio" id="5" Name="point' . $i . '" value="5"  />5</td>';
        ?>
        <br />
        </tr>
    <?php 
    $i++;}

按下搜索按钮后,将显示searchController。一切都很好,除了以下两件事:

1。)搜索栏与状态栏重叠

2.。)在表格视图的第一行中有空格

以下是说明问题的图片:

enter image description here

enter image description here

如何解决状态栏问题并删除第一行中的空格?

0 个答案:

没有答案