Question

I have a simple question for you.
I load images and strings from sqlite3 base. If there is no image, i want to move up my table view.
How can I realize it? I tried to change frame.origin.x, but it doesn't work.
Link to my project https://github.com/serg1991/diplom

No correct solution

OTHER TIPS

Can you be more specific about the exact position of your problem in your project? It's kinda big.

Also, if you need to move up your view, what you want to modify is frame.origin.y.

Otherwise, make sure you don't change your tableView's frame too early in the view lifecycle. Try doing that in the -viewDidLoad of your controller.

Be sure not to use a TableViewController in storyboard... Use a viewController, and drag a tableview inside (of course now you'll have to manage the delegates your self).

Hop this can help

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top