ios8

Form Sheet content disappearing

不羁岁月 提交于 2019-12-13 04:25:16
问题 I'm trying to implement a form sheet. Here is what it looks like on Storyboard: When i run the app only the background appear and everything else is hidden. I'm presenting the form sheet using Modally Presented - form sheet and i'm working with (wRegular hRegular) size. Why is that happening? 来源: https://stackoverflow.com/questions/26886372/form-sheet-content-disappearing

MVVM Cross Resolve IMvxTouchViewCreator fails iOS 8

旧时模样 提交于 2019-12-13 03:59:00
问题 Calling Mvx.Resolve does not work for me when I deploy to iOS 8 (device or simulator) but works fine when I deploy to iOS 7.1 (device or simulator). I receive the following error: "Cirrious.CrossCore.Exceptions.MvxIoCResolveException: Failed to resolve type Cirrious.MvvmCross.Touch.Views.IMvxTouchViewCreator" I tried running the TwitterSearch example (because it also resolves IMvxTouchViewCreator) and it has no trouble in iOS 8. For iOS 7.1 this call resolves to the class

Remove UINavigationBar background and preserve shadow

送分小仙女□ 提交于 2019-12-13 03:03:32
问题 Flickr has a gorgeous Settings view controller (even if they put the close button on the wrong side!) and I want to know how I can achieve a similar effect. Notice the navigation controller does not have a background but it does have a shadow line underneath it to provide separation. The underlying blurred view fills the entire display including underneath the status bar. How would you achieve that - how could you remove the background of the UINavigationBar ? Note you can't simply remove the

UITapGesture in UITableview header

不想你离开。 提交于 2019-12-13 02:15:53
问题 I trying to use expandable tableview in swift. So I added Gesture to header in tableview, but it does not recognising. Kindly guide me. Just cross check my coding. MY CODING IS BELOW: func tableView(tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? { let vvv = tableView.headerViewForSection(section) let tap = UITapGestureRecognizer(target: self, action: Selector("handleTap:")) tap.delegate = self vvv?.addGestureRecognizer(tap) return vvv } func handleTap

iOS Keep url array order when saving images into an array

左心房为你撑大大i 提交于 2019-12-13 02:15:09
问题 I'm trying to do the following. I have an array that contains several URLs for different images. These images will be displayed into a scrollview and I want to keep this order to be able to delete specific images at a specific index. Right now I'm using a for loop, first I load the array with NSNull objects and afterward I run the loop replacing all the objects with images. This doesn't seem to be really efficient, specially when the app loads from the background. This is my code: func

_UIImagePickerControllerUserDidCaptureItem not called xcode 6

十年热恋 提交于 2019-12-13 01:26:18
问题 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 回答1: It's pretty strange, but in iOS 8 setting observer using [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(imagePickerControllerDidCapture) name:@"_UIImagePickerControllerUserDidCaptureItem" object:nil]; doesn't work for UIImagePickerController,

HMHomeManager didAddHome not returned

一世执手 提交于 2019-12-13 01:15:15
问题 I am having a problem with adding homes with HMHomeManager. I can call the function add well, but HMHomeManager does not return func homeManager(manager: HMHomeManager!, didAddHome home: HMHome!) { println("\(__FUNCTION__)") } I am sure I already assigned the delegate of homeManager. Below is my code: class ViewController: UIViewController, HMHomeManagerDelegate { var manager: HMHomeManager required init(coder aDecoder: NSCoder) { manager = HMHomeManager() super.init(coder: aDecoder) }

How to open Apple Maps with a location and zoom?

主宰稳场 提交于 2019-12-13 00:56:33
问题 The following code will open Apple maps (iOS8) at the correct location "mapLocation", but the option MKLaunchOptionsMapSpanKey seems to be ignored. The map view is always about 250m across on a portrait iPhone, regardless of the settings in span. The values for MKCoordinateSpan span latitude/longitudeDelta I've tested are in the range 0.3-2 degrees. How do I get the zoom level I want? MKPlacemark *placemark = [[MKPlacemark alloc] initWithCoordinate:mapLocation addressDictionary:nil];

NSTextAttachment image not displayed on iOS 8 devices (with iOS7.1 sdk)

北慕城南 提交于 2019-12-13 00:44:58
问题 I have just built my project on several iOS 8 devices with baseSDK set to iOS 7.1. Unfortunately, all NSTextAttachment images added as attributes to relevant instances of NSMutableAttributedString are hidden on iOS 8 devices and the iOS 8 simulator (they are still visible on devices with 7.1 and the iOS 7.1 simulator). The frame for these strings within their superviews is set as if the image was there, but the image itself is just not visible or rendered. Has anybody else ran into the issue

iOS8 Custom Keyboard Settings.bundle does not show up

吃可爱长大的小学妹 提交于 2019-12-13 00:43:54
问题 I added a Settings.bundle to the keyboard target. But when I add the keyboard in the settings, the Items from the Settings.bundle doesn't show up. I had it working once. But this was in Beta 4. -- best regards 回答1: In iOS8.0.2, the settings appear in the General->Keyboard section of the iOS settings app. However, a bug in iOS prevents from reading these values. The solution would be to create a settings screen in your containing app, and read/write the settings to the Shared Container, using