Modified to use a UITabViewController