CGRect screenBounds = [[UIScreen mainScreen] bounds];
NSString *width=[NSString stringWithFormat:@"%g",screenBounds.size.width ];
NSString *height=[NSString stringWithFormat:@"%g",screenBounds.size.height ];
ight %@", width,height,NSStringFromCGRect(screenBounds));
Subscribe to:
Post Comments (Atom)
Create a list in SwiftUI with sticky section headers
Sample Code import SwiftUI struct ContentView : View { @State var isCustomViewControllerDisplayed = false @State private va...
-
Function for getting hardware specific info such as CPU ID, Motherboard Serial Number, Drive Serial Numbers and MAC address . '*...
-
Excel 97 Excel 97-2003 Xls files with ACE OLEDB 12.0 You can use this connection string to use the Office 2007 OLEDB driver (ACE ...
-
Range Operators: Closed Range operators Half-Open Range Operators One-Sided Ranges Closed Range Operators: a...b It defines...
No comments:
Post a Comment