| Xcode | 3.2.3 (GCC 4.2.1) |
|---|---|
| iOS | 4.0 |
| Apache Portable Runtime | 0.9.18 |
| APR Utility | 0.9.17 |
Thanks for Michael Safyan.
$ uname -a Darwin macmini.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 $ gcc --version i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ tar xvfz apr-0.9.18.tar.gz $ cd apr-0.9.18 $ ./apr-iphone-4.0-configure $ make $ sudo make install $ sudo patch -d /opt/iphone-4.0/include/apr-0/ < apr_general-dev.diff $ tar xvfz apr-util-0.9.17.tar.gz $ cd apr-util-0.9.17 $ ./apr-util-iphone-4.0-configure $ make $ cd uri/; gcc -o gen_uri_delims gen_uri_delims.c; ./gen_uri_delims; cd .. $ make $ sudo make install
@interface MyUITabBarController : UITabBarController
{
}
@implementation MyUITabBarController
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return YES;
}
@end
| I | Attachment | Action | Size | Date | Who | Comment |
|---|---|---|---|---|---|---|
| |
iphone-configure-scripts-4.0.tar.gz | manage | 2.0 K | 2010-09-02 - 22:37 | SatoshiKonno |