When I make any iOS 8 Today Extension, there is an empty space on the left of approximately 48px, even if in Interface Builder I place a label on the left side at x=0.
I have seen that some apps, however, use a full-width widget.
How can I achieve something similar?
Thanks!
UPDATE: SOLVED
I put here the sample code because I guess it will be useful to someone. As suggested by @matteo-lallone, the correct way to do this is:
-(UIEdgeInsets)widgetMarginInsetsForProposedMarginInsets:(UIEdgeInsets)defaultMa??rginInsets{
return UIEdgeInsetsZero;
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…