Sometimes in the project requires a text box can only enter numbers, such as: Price, mileage, fees, etc., the general text box does not limit the format of the input, this time can only be forced to restrict the input box input format, the code is
One, the program outward use system text message
This method is actually very simple, direct call OpenURL can:
Nsurl *url = [Nsurl urlwithstring:@ "sms://15888888888"];[[UIApplication Sharedapplication]openurl:url];
Second, the program calls the
The push in app is becoming more and more popular, but configuring certificates for people who don't do a lot of push is really painful. This article will take an integrated push as an example to explain the process of configuring the APNs
As long as there are some controls in iOS that have the function properties of ScrollView, when the interface is very long and slide to the bottom, the user wants a key back to the top.We can set a button and set a click method for the button.
Simplified frame access and settings, and simplified frame access
I don't know who the original creator is because some programs have such expressions. Save it in the blog.
In the. m file
#import "UIView+MyFrameCategory.h"@implementation UIView
"Video Broadcast Technology details" series: Collection,
There are a lot of technical articles on live broadcasting, and there are not many systems. We will use seven articles to give a more systematic introduction to the key technologies of live
Layer time-level relationship time and layer-level relationship
Each animation and layer has its own hierarchical concept in terms of time, which is measured relative to its father. Adjusting the Time of the layer will affect the animation of the
Ios-generation and use of in-depth resolution QR codes, ios-Depth
A small demo is used to learn the QR code. There are four interfaces in total (the main interface is to generate the QR code interface, identify the QR code interface, and scan the
Difference between initialize, init, and load methods and when to call initializeinit
Initialize is not init
When initialize is called for the first time, for example, [[class alloc] init] will call the initialize method once. No matter how many
How to Learn new frameworks (save images to albums) and frame albums1. Click View big image 1. Click the image or button (Click View big image), modal a controller to display the large image 2. How can I solve this problem so that I can click the
Use of NSUserDefault and NSUserDefaultUse of NSUserDefault
NSUserDefaults is used to store small data such as user configurations.
1. Create an NSUserDefaults object
NSUserDefaults * userDefault = [NSUserDefaults standardUserDefaults];
2. After
Custom flow layout (basic use of UICollectionViewFlowLayout) and flowlayout vertical layout
The final displayed
Ideas:
1. Basic settings of UICollection, and create a class inherited from UICollectionViewFlowLayout. (It cannot be
UIWebView: saves images (reprinted) on the webpage, and reprinted by uiwebview
Currently, H5 hybrid native development is becoming increasingly popular, and UIWenview controls are also required. During the development process, we may encounter a
Several new iOS9 keywords (nonnull, nullable, null_resettable, _ null_unspecified), and ios9nonnull1. nonnull: it can be understood literally: it cannot be null (it is used to modify attributes, parameters of methods, and return values of
IOS learning notes-File Operations (NSFileManager) and iosnsfilemanager
IOS sandbox mechanism. Applications can only access files in their app directories. Unlike android, iOS does not have an SD card and cannot directly access images, videos, and
Introduction to iOS event processing-UIResponder, iosuiresponder
When a user uses an app, various events are generated.
Events in iOS can be divided into three types: Touch events, accelerator events, and remote control events.
In iOS, not all
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