Is it just me or _UIImagePickerControllerUserDidCaptureItem notification from uiimagepickercontroller stopped working on iOS 8 and XCode 6. I use it to rotate the camera overlay after the user taked a picture. PLease help
相关问题
- UIImagePickerController and iCloud photos
- Loading local file in WKWebView doesn't workin
- How to set video capture frame rate?
- Xcode 6 Storyboard crashing when scrolling to part
- Images.xcassets breaking the laws of targets
相关文章
- Navigation bar disappears when typing in UISearchC
- iOS 8 Today widget alignment issue
- Using the device simulator for iOS 8 with Xcode 7
- Skip UIImagePickerController Preview View?
- Using UILexicon to implement autocorrect in iOS 8
- UIImagePickerController delegate not called Swift
- Can't see custom keyboard in Safari of iOS8.1
- Can't use Swift classes inside Objective-C uni
It still works for me, though I am using the notification center for that.
the code is in c# as I am using xamarin to develop, there should be something similar in objective-c since I'm basically using wrapper classes (built by xamarin).
It's pretty strange, but in iOS 8 setting observer using
doesn't work for UIImagePickerController, but using block works fine:
Please notice that in this approach you should store observer object to detach it later using
In situations like that it very useful to use
to monitor all notifications, see names and moments it fires.
I also see the same issue with iOS 8 but using block works as mentioned by Amoneron in his answer.
Here's how to do it in Swift: