第21页 | Beginning IOS Programming_ Building and Deploying IOS Applications | 阅读 ‧ 电子书库

同步阅读进度,多语言翻译,过滤屏幕蓝光,评论分享,更多完整功能,更好读书体验,试试 阅读 ‧ 电子书库

CHAPTER 7 ANSWERS

 
To add a new framework to a project: Select the Project from the Project Navigator.Select the General settings editor.In the Linked Frameworks and Libraries section click the + button and select the desired framework from the dialog.The MFMailComposeViewController requires the MessageUI.framework to be added to the project.The MFMessageComposeViewController requires the MobileCoreServices.framework to be added to the project in order to use the Universal Type constants when attaching images or other media types to a text message or iMessage.You need to call the canSendText method to verify the device can send text messages or iMessages. If you do not and try presenting the MFMessageComposeViewController, the app will crash.The social networking services integrated in iOS are Twitter, Facebook, Flickr, and Vimeo, as well as Weibo in Asia.Users sign into their social networking accounts in the Settings app.To prevent the Bands app from sharing the band picture on Flickr using the UIActivityViewController: Create an NSArray that includes the UIActivityTypePostToFlickr constant.Call the setExcludedActivityTypes: method of the UIActivityViewController and pass in the NSArray.

请支持我们,让我们可以支付服务器费用。
使用微信支付打赏


上一页 · 目录下一页


下载 · 书页 · 阅读 ‧ 电子书库