accessory action segue (UITableViewController)

后端 未结 5 1737
甜味超标
甜味超标 2021-02-01 07:10

I\'m trying to make segue via IB, that switching views when pressed cell accessory in tableView.

Images from my IB:

1.I\'m dragging from cell of tableviewcontrol

5条回答
  •  臣服心动
    2021-02-01 07:47

    I'm getting this error when I run my application on iOS 5 on an iPod Touch and not on iOS 6 on an iPhone 5.

    The docs say that accessory action was deprecated in iOS 3.0. The bug seems to be that it's being shown and allowed in iOS 6.

    Can you confirm what version of iOS you're testing against?

    https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UITableViewCell_Class/DeprecationAppendix/AppendixADeprecatedAPI.html#//apple_ref/occ/instp/UITableViewCell/accessoryAction

提交回复
热议问题