This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void) setScrollView:(UIScrollView*)scrollView contentInsets:(UIEdgeInsets)edgeInsets byAdjustingForStandardBars:(BOOL)adjustStandardBars | |
{ | |
if (adjustStandardBars) | |
{ | |
UINavigationController* navController = self.navigationController; | |
if (navController) | |
{ | |
CGRect navBarFrame = self.navigationController.navigationBar.frame; | |
edgeInsets.top += CGRectGetMinY(navBarFrame); // statusbar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <CoreWLAN/CoreWLAN.h> | |
#import <SystemConfiguration/SystemConfiguration.h> | |
extern CFStringRef _SCNetworkInterfaceGetIOPath(SCNetworkInterfaceRef interface); | |
@interface CWNetwork (Voodoo) | |
- (NSDictionary*) scanRecord; | |
@end | |