1. Link to a real machine
2. Change the compilation form to release.
3. Select archive in product on the taskbar.
4. jump out of the page and select your own application. Here is the first one (highlighted one)
5. Select the
In the build phases settings of the xcode project, you can add the framework and dylib that the project depends on in the "link binary with libraries" section.
There is no problem with the former, and the latter will find that there are multiple
(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 Preface
The button can also achieve a similar loading effect. Today we will learn a button control similar to the reload effect.2. Details
This control uses the cabasicanimation and caanimation classes in the quartzcore framework for animation
Uiview is the base class of the view.
A window is a base class of a view. The main function of a window is to provide a certain area to display the view. 2. Distribute events to the view.
The window itself does not have any content. For
IPhone memory management and attributes
I. Preface
For most people who have switched from C ++ or Java to learn object-C (hereinafter referred to as OC), the language OC looks strange and troublesome to use.
OC does not have the same garbage
"It's a blessing, not a curse, but a curse." You can only use this sentence to describe the mood of this afternoon, and leave the first tear in the dormitory to go to college ......
The road to technology is hard to walk, along the way is bumpy,
It is said that iOS development is easier than Android development. How does IOS achieve this? Let's take a look at it today. I hope it will be helpful to those who are doing IOS interface design.
1. iOS device resolution
There are currently three
Obtaining screen resolution is a very useful function. In some game-related development, drawing and screen resolution are inseparable. Obtaining the resolution of the current screen is essential.
Two steps are allowed to obtain the screen
You do not need to talk about app localization. This article will introduce a simple method to implement string localization.
If we define a title for a button in the code without considering localization, we generally write the following statement:
The cllocationmanager class monitors GPS location messages. When the user's coordinates change, the following method is called for notification:
-(Void) locationmanager :( cllocationmanager *) manager didupdatetolocation :( cllocation *) newlocation
1. Fast texture
Ii. knowledge points
1. Text
2. keyboard
1> automatic hiding. Method 1: did end on exit event. Add the hidekeyboard method and call resignfirstresponder to give up the input object's right to obtain the input;
Method 2: Touch the
You can achieve this in two ways:
1. Use the data in the dynamic array nsmutablearray to display the data
1. Create an empty application project, create viewcontroller and homeviewcontroller, and import the file in appdelegate. M,
And add the
1. Use nstimer for animation
1. Create an empty application and add the homeviewcontroller page, iphone.png Image
2. Add an image view in homeviewcontroller. XIB and adjust its size. Then add a slider control.
3. homeviewcontroller. H code:
#
1. Create an empty application and add the uiviewcontroller view. The view design is as follows:
// Homeviewcontroller. h// Weatherquery
# Import
@ Interface homeviewcontroller: uiviewcontroller {Nsmutabledata * data; // used to receive results
1. built-in buttons and icons
Using System-provided buttons and icons
2. custom icons and Images
The size of the iPhone's built-in icons is generally 29px × 24px, and the self-made icons should be close to this size. The color of the icons should
Cfstream
Read/write streams provide a simple way to exchange data in the form of device dependencies. You can create a stream for the data in the memory, the data in the file, or the data on the Network (using sockets), instead of reading all the
1. cfhttp
You can use cfhttp APIs to create HTTP requests. Generally, HTTP request methods include get, head, put, post, delete, tracr, connect, and options. Cfhttp requests generally take four steps:
Use the cfhttpmessagecreaterequest function
In a recent project, a translucent mask is required to be added to an existing interface, prompting users for the function of each element on the interface.In addition, the mask is not only one page, so you must slide the page between the left and
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.