Когда я запускаю iOS Simulator и нажимаю первую строку в viewcontroller, он открывает еще один такой же viewcontroller, но поверх его синего прямоугольника, который накрывает кнопку «Назад». Что мне не хватает?Кнопка «Назад» в iOS Simulator i покрыта синим прямоугольником
класс гага: UITableViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Uncomment the following line to preserve selection between presentations
// self.clearsSelectionOnViewWillAppear = false
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem()
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
// MARK: - Table view data source
override func numberOfSectionsInTableView(tableView: UITableView) -> Int {
// #warning Incomplete implementation, return the number of sections
return 1
}
override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
// #warning Incomplete implementation, return the number of rows
return Model.sharedInstace.categoryArray.count
}
override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCellWithIdentifier("LabelCell", forIndexPath: indexPath) as! cellTableViewCell
let category = Model.sharedInstace.categoryArray[indexPath.row]
cell.categoryName1.text = category.name
cell.numberOfSubjects1.text = category.id
return cell
}
}
мы не можем сказать, если мы не видим какой-то код –
как вы можете ожидать, чтобы мы знали, в чем проблема, не видя код? – ozgur
код отправлен извините – DarkMan