(The premise is that applicationloader has been installed)
1. Open xcode, choose product> scheme> editscheme, find archive, select iosdevice as the top device, and select release in buildconfiguration.
2. Select iosdevice and clean for the project.
3
1. Summary:
1) int --> nsnumber: numberwithint
2) nsnumber --> nsinteger: integervalue
3) string --> double: initwithstring
4) cgfloat --> dobule: initwithfloat, decimalobj doublevalue
5) Use nsinteger, because you do not need to consider whether
1. Obtain the date of the current day
Nsdate * today;
Today = [nsdate date];
2. [[uidevice currentdevice] orientation] the following seven statuses are available for obtaining device statuses:
Uideviceorientationunknown
Uideviceorientationportrait
The younger brother hasn't updated it for a long time.
Archiving in IOS is what we know about serialization and deserialization.
We can use plist to store simple data types. But what if I want to persist the Data Types I have defined?
This requires
Document directory
Aesthetics integrity
Consistency
Intuitive operation
Feedback
Metaphor
User Control
A good user interface should follow the "human-user-thinking and work" concept in the user interface design principle, rather than the
The following are some of your friendly support:
Made a product, need popularity support a bit, Android and iPhone 91 market search # super junior mission #, or directly to the page to download the http://m.ixingji.com/m.html? P = x16
JSONIs the
Install the Tianyi cloud storage app on your iOS device today. Open http://cloud.189.cn/wap/index.jspon on safari and click here for free. For example:
The magic thing happened. The device directly downloaded the app and installed it without going
Before calling the drawrect: Method of the view, uikit automatically configures the drawing environment to make the upper left cornerThe origin of the coordinate system. The quartz call in this environment can be correctly traced in the view.
View
1. Preface
I am about to learn about Ios. First, I want to know about it. Of course, the essential knowledge before learning IOS is still needed: Objective-C programming language, IOS system itself, and iPhone, iPad and itouch features to
1. Adapt to 4 inch screen adaptation.
To adapt to the 4 inch screen, the system creates a default-568h@2x.png image and identifies whether the system supports the 4 inch screen based on the resource. As for other resources, xxx-568h.jpg is not
1. Documents:
Only files generated by the user, other data, and other files that cannot be re-created by other programs should be saved in the /Documents directory, and will be automatically backed up through iCloud.
2. Library:
Data that can be
Core Foundation frameworkThe Core Foundation framework is a set of C language interfaces that provide basic data management and service functions for iOS applications. The following lists the data and services that the Framework supports for
Ui update operations in IOS are actually the same as those in Android. They are not time-consuming operations in the main thread. Therefore, you need to enable new threads to perform these operations, to avoid blocking the main thread. After the
Getting started with the official website: http://open.weixin.qq.com/document/gettingstart/ios /;
In fact, it is already very detailed. The following are my notes:
1. if "URL scheme" is not added to the Application id you have registered, "Return (
To complete communication with the IOS client, you must set the mode and padding attributes of the RijndaelManaged class instance in the AES-side encryption program. The former needs to be set to CipherMode. ECB, and the latter needs to communicate
The UIPickerView used in the simple use of the UIPickerView control learned by iOS is displayed through textField. inputView = selectPicker; textField. inputAccessoryView = donw.lbar; this method is used in this process. If the UIPickerView or
Document directory
Select a project, TARGETS, and click the plus sign to add two frameworks.
It is easier to use maps on iOS than Android. You only need to create a MKMapView and addSubView. The following figure shows the implementation result:
Cocoa provides four mechanisms to store data persistently on iOS:1 NSUserdefaultsIt is mainly used to store short information, such as application settings, attributes, and user data.2. attribute listStore data on a disk in the form of a list. The
Download from Git Library
Https://github.com/tonymillion/Reachability
Add two files, Reachability. h and Reachability. m, to the project.
Added support for SystemConfiguration. framework.
Add header file declaration:
@class Reachability;@interface
Use ios global variables
1. Use static variables
2. Use Singleton class
3. Set global variables to AppDelegate.
For example, define and use a global variable "isLogin" AppDelegate. h @ interface AppDelegate: UIResponder @ property (strong,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service