<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem 。这将有助于其他人回答问题。
已关闭 9 年前。
标签 ios objective-c
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem 。这将有助于其他人回答问题。
已关闭 9 年前。
所以我对 IOS 编程很陌生。我按照教程并决定制作一个小型通用应用程序。因此,我在 Iphone Storyboard中创建了一个按钮,并在代码中创建了播放声音的 Action 。然后在 Storyboard中,我将按钮连接到播放声音的第一响应者操作,并且工作正常。然后我在 Ipad Storyboard中创建了按钮并做了与在 Iphone 中所做的相同的事情,将按钮连接到 First Responder 操作,当我在 Ipad 中打开应用程序并单击按钮时没有任何反应
最佳答案
您需要验证 IB 中的“已发送事件”部分。
关于ios - 应用程序适用于 Iphone,但不适用于 iPad,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24307042/