Posts

TabBar not showing when moving from viewController to tabBarViewController?

Image
0 When a go from a viewController to a tabBarViewController (meaning one of the two view controllers that is one of the tabs), the tab bar does not appear. When I move between either of the view controllers that are in the tab Bar controller instead, the tab bar works properly and it appears. Why does the tab bar seem to break when moving between a tab bar view controller and a regular view controller? Thanks. swift xcode uitabbarcontroller uitabbar share | improve this question asked Nov 23 '18 at 17:08 Everett Everett 57 9 ...

AUTOINCREMENT column field asks for an input value

Image
1 I've created a database with an autoincremented field: filecur.execute("CREATE TABLE IF NOT EXISTS File_Data (_FID INTEGER PRIMARY KEY AUTOINCREMENT, UID INTEGER(1000000), FileName varchar2 (15), Date_ varchar2 (15))") filecur.execute("insert into File_Data values (?, ?, ?)", (uid, filename, today)) However, when I try to insert values in this table, I get an error that says that I've supplied only 3 values in a table with 4 fields. Isn't autoincrement supposed to work on its own, or am I missing something? Any help would be appreciated, thanks! python database sqlite sqlite3 share | improve this question asked Nov 23 ...