Question: This is the code written on current page,i have to pass attributes from this page to the other page:

```
<script>
    $(document).ready(function() {
        $("buttons").click(function() {
            $(location).attr('href', 'www.google.co.in');
         });
    });
</script>

```

Answer: 
Please add Autolayout constraints on reloading the tableview on main thread .

dispatch.async.main{

self.tableview.reloadData()
}
call:`self.tableView.reloadData()` without [].

If this doesn't solve your problem, give us a bit example code of your project please.