One-dimensional code: Barcode
QR code: Two-dimen1_barcode
In iOS, there are mainly two open-source libraries that can be used to process bar codes:
1. zxing: http://code.google.com/p/zxing
2, zbar: http://zbar.sourceforge.net/
Both
First look at Reachability. h found
# Import
# Import
# Import
So if we need to use this class in the project, we need to introduce SystemConfiguration. framework.
In ios network development, you can determine the network environment and
# Define SINA_API_AUTHORIZE @ "https://api.weibo.com/oauth2/authorize"
# Define SINA_APP_KEY @ "3456404324"
-(NSURL *) getOauthCodeUrl {// Obtain the auth_code or access_token, which is left for webview
// Https://api.weibo.com/oauth2/authorize
//
Block can be used as a replacement for delegatge. It is easy to use and does not need to write too much @ protocol to define interfaces. However, pay attention to the following points.
(1) The block is not an object, so it is not valid for the
Uiimagepickercontroller Overview:
The uiimagepickercontroller class is a user interface for obtaining selected images and videos. We can use this controller to select the images and videos we need. This class is special. We cannot customize it at
This function is required in the project. I found some documents on the Internet, and some of them are not very clear. The implementation steps are as follows:
1. Add UILongPressGestureRecognizer to the cell and handle the event
Any automatic code generation tool is an enemy of beginners! This is the first time I learned the code generated by Microsoft Visual Studio's Wizzard. Now it's really funny to think about it. Someone who knows nothing about Event loop, MVC pattern,
Find the description link for the application, such as: http://itunes.apple.com/gb/app/yi-dong-cai-bian/id391945719? Mt = 8
Then, replace http: // With itms: // or itms-apps ://:Itms: // itunes.apple.com/gb/app/yi-dong-cai-bian/id391945719? Mt = 8
AIR for iOS
The following are typical steps to develop an AIR application for iOS:
Install iTunes.
Generate the required developer file and ID on the Apple iOS Provisioning Portal. These projects include:
Developer Certificate
Table View:
In many iPhone and other iOS apps, you can see the appearance of Table View. In addition to displaying common Table data, the attribute information you set is often used in Table View, table View can be divided into the following two
In Xcode, the values of variables cannot be directly viewed in Debug mode like those in eclipse or VS integrated development. So how can I view XCode variables during debugging?
There are some methods.
1. Create a Single View App
Add some code in
The UIPickerView control is often used when you select certain data for the user. Here, a simple selection data is displayed. In the UITextField input box, UIPickerView is used as the input View, use Toolbar as the button to select data. Similar to
1. Use UIWebView to load webpages
Run XCode 4.3 and create a new Single View Application named WebViewDemo.
2. Load WebView
Add the WebView member variable in ViewController. h and add the implementation in ViewController. m.
#import @interface
Too lazy to typeFrom: http://www.cnblogs.com/uvsjoh/archive/2012/09/02/2667348.html
1. In-band RegistryIn-band registration means that users who have not activated an account on your server can register a new account through the xmpp protocol. The
A new control in iOS6.0, UIRefreshControl
Example
I saw a post posted by someone else on the forum today, saying that this control can only be used in UITableViewController. If it is used in other viewcontrollers, the following error message
Finally, I waited for the iOS project and handed over the PHP project. But iOS learning has been stuck for so long? No matter where it is, let's make up for two days. You can see where it is, and then learn while doing it.
I learned about the
KVO and KVC are short for Key-Value Observing and Key-Value Coding respectively. I think of this topic because the update of the tableView I wrote is polling every few seconds. I was wondering if I needed a mechanism similar to triggering the update.
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.