iOS9 storyboard what is unhandled action (handleNonLaunchSpecificActions)?

There is nothing wrong with your code. This is a logging message internal to Apple, and you should file a radar about it. There are two hints that show that this is probably Apple’s code: The underscore leading the method name _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion is a convention indicating that the method is private/internal to the class that … Read more

Swipe-able Table View Cell in iOS 9

Try this, updated for Swift 3 (Developer Docs) override func tableView(_ tableView: UITableView, editActionsForRowAt: IndexPath) -> [UITableViewRowAction]? { let more = UITableViewRowAction(style: .normal, title: “More”) { action, index in print(“more button tapped”) } more.backgroundColor = .lightGray let favorite = UITableViewRowAction(style: .normal, title: “Favorite”) { action, index in print(“favorite button tapped”) } favorite.backgroundColor = .orange let … Read more

How can I create UIStackView with variable spacing between views?

Update For iOS 11, StackViews with Custom Spacing Apple has added the ability to set custom spacing in iOS 11. You simply have to specify the spacing after each arranged subview. Unfortunately you can’t specify spacing before. stackView.setCustomSpacing(10.0, after: firstLabel) stackView.setCustomSpacing(10.0, after: secondLabel) Still way better than using your own views. For iOS 10 and … Read more

“Application windows are expected to have a root view controller at the end of application launch” error when running a project with Xcode 7, iOS 9

From your error message: Application windows are expected to have a root view controller at the end of application launch How old is this “old” project? If it’s more than a few years, do you still have: [window addSubview:viewController.view]; You should instead replace it with: [window setRootViewController:viewController];

UIStackView “Unable to simultaneously satisfy constraints” on “squished” hidden views

You get this issue because when setting a subview from within UIStackView to hidden, it will first constrain its height to zero in order to animate it out. I was getting the following error: 2015-10-01 11:45:13.732 <redacted>[64455:6368084] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one … Read more