Height of iOS8 Today Extension using Only Auto Layout Gives Broken Constraints

After some experimenting, and stumbling across “what is NSLayoutConstraint “UIView-Encapsulated-Layout-Height” and how should I go about forcing it to recalculate cleanly” I determined that you can circumvent this problem using either “Height” & “Equal Heights” OR “Height” and Top and Bottom “Vertical Space” (as suggested by Guilherme Sprint), and then decreasing the “Priority” of the … Read more

Today Extension height for iPad much larger than specified

Here’s how to achieved this: You should consider your constraint. Your widgets default margin insets are not properly configured on the way you desired it, so setting this on your own is the only workaround here by calling ‘widgetMarginInsetsForProposedMarginInsets:’ // Update widgets insets func widgetMarginInsetsForProposedMarginInsets(defaultMarginInsets: UIEdgeInsets) -> UIEdgeInsets { println(NSStringFromUIEdgeInsets(defaultMarginInsets)) return UIEdgeInsetsMake(20, 20, 10, 20) … Read more

Today Extension Failed to inherit CoreMedia permissions from

I believe the “Failed to inherit CoreMedia permissions from NNNN” warning is related to App Groups when you are creating an App Extension. Both your containing application and your app extension need to have the App Groups capability turned ON and using the same app group container ID (example: group.com.yourdomain.yourappname). App Groups are used to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)