ios6

Read Public Timeline from Facebook

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-10 10:28:51
问题 I am new on iOS Facebook sdk. I am using version version 3.1.1 . I can reach my profile's information via sdk. But I am wondering How can I access and read from other user's public timeline? I search on web but I couldn't find anything. Thanks for answers 回答1: All roads lead to Rome. You can find other users' IDs by many ways on quite any API objects (likes and comments from photos and posts of friends or pages). Example of a request that gets many users, from a Facebook page post: https:/

AVQueuePlayer frustrations (buffer underrun handling)

允我心安 提交于 2019-12-10 10:22:54
问题 I am having a hell of a time with AVQueuePlayer. Very simply, I am making it on an array of AVPlayerItems built with playerItemWithURL: and pointing to video assets on a server out on the Net. If I try to run this thing in the stimulator (sic) it plays through the first asset, begins playing the second and just dies. Sometimes it doesn't even get through the first asset. Now, I understand that the sim behaves differently than the device, so I tried it on the device as well, with the same

UIPageControl + UIAppearance

巧了我就是萌 提交于 2019-12-10 09:34:39
问题 The docs for UIAppearance is extremely poor. I want to customize the colours for a UIPageController, but I am unable to figure out which properties to set. When I go [UIPagecontrol appearance] set I get probably hundreds of options, so it's nearly impossible to figure out what's what. I would assume it's possible with UIAppearance proxy, right? Thank you 回答1: UIAppearance protocol was added to UIPageControl as of iOS 6. The properties you can customise are: Dot tint colour Highlighted dot

iOS 6.0: UISplitViewController Popover broken or design changed by Apple?

♀尐吖头ヾ 提交于 2019-12-10 08:07:25
问题 I have created a project with master detail template in Xcode 4.5 and deployment target 5.1. Could someone please help me with following UISplitViewController issues please. In portrait mode, master view fade in from the left. It doesn't appear as Popover view as it used in iOS 5.0 in portrait mode. Please see attached images. How to get the master view as popover? Is there anyway I can hide master view in Landscap mode? Thanks. 回答1: This has been the default action since 5.1. From the iOS 6

Remote view controller crashes in IOS6 on iPhone4 when opening an SMS view

感情迁移 提交于 2019-12-10 08:04:27
问题 I get the following error message in the output window: Remote compose controller timed out (NO)! I have read that the SMS view in IOS6 runs in its own thread which might explain the problem. Is there any available information about his issue? 回答1: I faced this same issue (Remote compose controller timed out (NO)!). But when i presented the message composer with 1.0 delay, it showed the message composer. Hope somebody will find this as useful & save their valuable time. [self performSelector:

Using transition CIFilters for CATransition

China☆狼群 提交于 2019-12-10 03:39:50
问题 I'm trying to use CATransition 's filter property with the new iOS 6 transition animations (CIBarsSwipeTransition, CICopyMachineTransition, etc.). The CIFilter documentation says that these are available on iOS 6, and nothing on the CATransition documentation says that the filter property cannot be used. But, I can't seem to get them to work. I don't know if Apple just failed to mention the inavailability of the functionality or I'm just missing something to make it work. Here's how I set it

How to set photo taken with UIImagePickerController to be viewed/modified into a custom UIViewController?

天涯浪子 提交于 2019-12-10 03:14:55
问题 I am currently using the default UIImagePickerController , and immediately after a picture is taken, the following default screen is shown: My question is, how would I be able to use my own custom UIViewController to view the resultant image (and therefore bypass this confirmation screen ). Please note that am not interested in using a custom overlay for the UIImagePicker with custom camera controls or images from photo gallery, but rather just to skip this screen and assume that the photo

Override UIActivityViewController default behaviour

痴心易碎 提交于 2019-12-10 03:08:54
问题 In the Photos app on the iPhone, when you select the Mail sharing option, the photo animates into the modal view controller that slides up. How is it possible to modify the behaviour of the built-in UIActivities? For example, I'd like to be able to set the subject field of the mail composer. 回答1: Unfortunately, customizing the subject field of the UIActivityViewController mail composer is not working yet. There is a documented and reported bug regarding trying to customize this discussed here

How can I add 'Follow us on facebook' button to an iOS app?

余生颓废 提交于 2019-12-10 02:31:13
问题 I've about completed my iOS app but only need to add two buttons: Follow us on facebook Follow us on twitter I assumed I would find a couple of simple examples here, but was surprised to find no answer to this at all (yet). I'm pretty sure I could spend the next few hours trying to figure it out, but thought I'd reach out for a little time-saving help. Just looking for the code to go behind a button on a view controller (XCode 4.5.1, iOS 6). I assume the only variable I might need to supply

UIImageWriteToSavedPhotosAlbum does not work in iOS 6 iPad 3

对着背影说爱祢 提交于 2019-12-10 02:04:06
问题 I'm using the next function to save photos in my app: UIImageWriteToSavedPhotosAlbum(pngImage, self, @selector(image:didFinishSavingWithError:contextInfo:), NULL); It works well on iOS 5.1.1 devices, and iPod/iPhone iOS 6.0 devices. But strangely photo saving doesn't work on iPad 3 with iOS 6.0 and returns the following error: Error Domain=ALAssetsLibraryErrorDomain Code=-3310 "Data unavailable" UserInfo=0x1cd6afc0 {NSLocalizedRecoverySuggestion=Launch the Photos application,