0

設定バンドルにアクション付きのボタンを追加できないという回答がたくさんありますが、私は見ました

Nike + iPodアプリケーションはそれを行い、アクションはURLを開くことであり、オフ/オンのときにスイッチビューでアクションを実行します

4

1 に答える 1

4

This is all you need:

...
<key>cell</key>
<string>PSButtonCell</string>
<key>action</key>
<string>buttonCellClicked:</string>
...

This will make a button cell and send the buttonCellClicked: message on the preferences view controller.

于 2013-04-21T08:32:43.363 に答える