以下內容添加到您的應用程序代理:
- (void) fixRoundedSplitViewCorner
{
[self explode:[[UIApplication sharedApplication] keyWindow] level:0];
}
- (void) explode:(id)aView level:(int)level
{
if ([aView isKindOfClass:[UIImageView class]]) {
UIImageView* roundedCornerImage = (UIImageView*)aView;
roundedCornerImage.hidden = YES;
}
if (level < 2) {
for (UIView *subview in [aView subviews]) {
[self explode:subview level:(level + 1)];
}
}
}
在你的UISplitViewController的DetailViewController補充:
- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation
{
[yourAppDelegate performSelector:@selector(fixRoundedSplitViewCorner) withObject:NULL afterDelay:0];
}
來源
2010-04-16 09:29:54
abs
這是在窗口的底部?它可能實際上是通過剪輯完成的。 – 2010-04-13 23:59:40