Skip to content

Instantly share code, notes, and snippets.

@chrisntr
Created October 23, 2014 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisntr/2aee70ef0fa48bbd8fde to your computer and use it in GitHub Desktop.
Save chrisntr/2aee70ef0fa48bbd8fde to your computer and use it in GitHub Desktop.
Oct 23 12:37:43 Totoro-Phone TodayExtension[2174] <Error>: Stacktrace:
Oct 23 12:37:43 Totoro-Phone TodayExtension[2174] <Error>:
Native stacktrace:
Oct 23 12:37:43 Totoro-Phone TodayExtension[2174] <Error>: 0 com.chrisntr.daysuntilxmasios.TodayExtension 0x0000000100167790 mono_handle_native_sigsegv + 268
Oct 23 12:37:43 Totoro-Phone TodayExtension[2174] <Error>: 1 com.chrisntr.daysuntilxmasios.TodayExtension 0x00000001001712c8 mono_sigsegv_signal_handler + 316
Oct 23 12:37:43 Totoro-Phone TodayExtension[2174] <Error>: 2 libsystem_platform.dylib 0x00000001967bc95c _sigtramp + 68
Oct 23 12:37:43 Totoro-Phone TodayExtension[2174] <Error>: 3 com.chrisntr.daysuntilxmasios.TodayExtension 0x000000010013a6c0 native_to_managed_trampoline_4 + 248
Oct 23 12:37:43 Totoro-Phone TodayExtension[2174] <Error>: 4 com.chrisntr.daysuntilxmasios.TodayExtension 0x000000010013a6c0 native_to_managed_trampoline_4 + 248
Oct 23 12:37:43 Totoro-Phone TodayExtension[2174] <Error>: 5 com.chrisntr.daysuntilxmasios.TodayExtension 0x000000010013ae30 -[TodayViewController widgetMarginInsetsForProposedMarginInsets:] + 72
Oct 23 12:37:43 Totoro-Phone TodayExtension[2174] <Error>: 6 NotificationCenter 0x000000018831a3e8 <redacted> + 76
@chrisntr
Copy link
Author

[Export("widgetMarginInsetsForProposedMarginInsets:")]
public UIEdgeInsets GetWidgetMarginInsets (UIEdgeInsets defaultMarginInsets)
{
var newInsets = new UIEdgeInsets (defaultMarginInsets.Top, defaultMarginInsets.Left - 50,
defaultMarginInsets.Bottom - 44, defaultMarginInsets.Right);
return newInsets;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment