IOS-CoreText and ios-coretext1. Determine whether the clicked position is within the range of a specified nsange.
# Pragma mark determines whether the clicked position is within the range/** converts the clicked position to the offset of the string.
IOS ---------- call the System camera and album,
After iOS 10, remember to add the permission to get photos and albums in plist. After iOS 10, remember to add the permission to get photos and albums in plist, after iOS 10, remember to add the
The automatic upload of the symbol table does not take effect for ios buckets.
The automatic upload of a symbol table does not take effect for ios buugly. After we have completed the automatic upload of the symbol table according to the buugly
Monitoring Network status implementation solution in iOS development, ios monitoring
In iOS development, we often encounter this requirement to monitor the network status. In 2G network status, we do not download high-definition images, but only
NSURLSessionDataTask for iOS development enables offline breakpoint download of large files (important ),
NSURLSessionDataTask for iOS development enables offline breakpoint download of large files (important ). Source code download: https://github.
IOS development-iOS calls the camera to call album [save images to a local album], ios-iosSet the header proxy
1. Call the camera
Check whether the front camera is available
- (BOOL)isFrontCameraAvailable{ return [UIImagePickerController
Keyboard handling during iOS input; ios Input Keyboard handling
During iOS development, you sometimes need to handle keyboard pop-up and retrieval.
And how to process the view during keyboard pop-up retrieval
The most formal method is to use
After iOS 11 is updated and iPhone X is released, problems encountered in the project and adaptation, iosiphone
1. When the UITableView slides, the sliding bars on the right are suddenly long and short, and the endless loop is pulled and refreshed
Ios development-common third-party tools and ios development
# Menu
Pod 'lgsidemenucontroller'
# Refresh
Pod 'mjrefresh'
# Network requests
Pod 'afnetworking', '~> 3.0'
# Image Cache
Pod 'sdwebimage', '~> 4.0'
# Data parsing
Pod 'mjextension'
#
Cancel the animation (explicit animation) and cancel the animationCancel an animation during the animation process
As mentioned before, you can use-addAnimation:forKey:MethodkeyParameters are used to retrieve an animation after an animation is added.
UIScrollViewDelegate related methods,
UIScrollViewDelegate
-(Void) scrollViewDidScroll :( UIScrollView *) scrollView; // this method is called when scrollview is rolled. This method is called when any offset value is changed.
-(Void)
IOS: drawing, ios drawing
1. UIBezierPath (besell curve)
1-1), in the override drawRect: Used in the Method
It is not difficult to use it. Generally, UIBezierPath. h is used. It is worth noting that the color settings are as follows:
// Set the line
[Code Note] iOS-display the wait dialog box in the navigation bar, ios-navigation bar
I ,.
Ii. Code.
ViewController. m
# Import "ViewController. h "@ interface ViewController () @ end @ implementation ViewController-(void) viewDidLoad {[super
It allows you to quickly understand and master how to develop iOS skills and ios development skills.
First, you need to spend some time learning objective-C language. After all, this is the basis for iOS development (you can also try Swift, but
Differences between member variables and attributes in iOS and ios
Link: http://blog.csdn.net/u012946824/article/details/51788565History:
People who contact iOS know that,@propertyBy default, a member variable of the _ type is generated for declared
Try not to remove notifications in viewWillDisappear: method,1. The navigation controller side slide gesture is added to iOS7. When a side slide return is triggered, viewWillDisappear of the system is called. When the side slide return is canceled,
IOS gets the date n months after a date, and ios gets the date1. Give a time and a number. The positive number is the next n months, and the negative number is the previous n months;
1 -(NSDate *)getPriousorLaterDateFromDate:(NSDate *)date
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.