Why does ios leave dealloc or cause Memory Leak in UIViewController,
Since MyLeaksFinder is imported into the project, Memory Leak prompts are often reported in the project. After several debugging times, several possible causes of this
[Reading Notes] iOS-attributes, Reading Notes ios-
Assign: simple assignment.
Retain: After a value is assigned, the new retain method and the release method of the old value are called.
Copy: copy the value first, and assign the copy value to
IOS double-click tabbar to refresh the page, and iostabbar to refresh the page
/* Inherit the UITabBarController */
# Pragma mark
-(Void) tabBarController :( UITabBarController *) tabBarController didSelectViewController :( UIViewController *)
In the iOS navigation bar, how does one use UINavigationController and switch between pages,Use of the navigation bar
NavigationController manages the switch between the Bar at the top of the screen and different uiviewcontrollers.
You can drag the
UIView and Masonry implement animation effects and uiviewmasonry Animation
The animation effect of Masonry is as follows:
// Button click method-(void) clickedButton {static BOOL isMove; // NO Weakify (weakSelf) by default; // tell self. view
IOS: multimedia (18-01-25), ios multimedia 18-01-25
1. Audio
2. Video
1,
2. AVPlayer
1. Audio
2. Video
1,
2. AVPlayer
0) write in front
AVPlayer mainly includes AVPlayer, AVPlayerItem, and AVPlayerLayer, which correspond to Controller
IOS: Address Book (18-01-17), ios Address Book 18-01-17
1. Read the address book
1) Before 9.0
2) After 9.0
2. Call the communication recording UI
1) Before 9.0
2) After 9.0
3. Reference
0. Preface
Plist needs to set privacy
IOS 10, XCode8 development of notepad skills, ios10xcode8
IOS 10, XCode8 development of notepad tips, just started to learn IOS, these two days have tried to make a notebook, interface reference lazy notes interface (GitHub self-line Baidu ),
IOS local notification push iOS10.0 new API usage summary, iosios10.01. Local notification iOS10.01.1. send push notification
/// ViewController. m // iOS10.0 push notifications locally /// Created by zhouyu on. // Copyright? 2017 zhouyu. All rights
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'
#
Zoom in View-> rotate-> restore animation, view animationTake UIButton as an example to create a class that inherits from UIButton.
/* Create a storyboard for the page */
. H file
@ Interface PTSRecommendButton: UIButton
-(Void) viewTransform;
@ End
Software drawing (efficient drawing 13.1), software drawing 13.1
Software drawing
TermsPlottingSoftware plotting is usually indicated in the context of Core Animation (that is, drawing not assisted by GPU ). In iOS, software plotting is usually
UICollectionView related methods,
I have nothing to worry about recently. Sort out the related methods of UICollectionView for use.
UICollectionViewFlowLayout and UICollectionViewLayout
UICollectionViewFlowLayout is a subclass of
IOS development Note 17: Custom Camera photo, ios17
Previously, I used an AVFoundation custom camera to take photos and video-related things. Why do I need to customize it? It mainly provides a more personalized interaction design that conforms to
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,
OC version: Snake, oc snake
Yesterday I wrote a js version of Snake. Today I suddenly want to write an OC version to compare the differences between the two languages.
The oc feature is applicable to all iphone sizes and can be paused. You can set
UILabel calculates the number of rows, expands the text, and shrinks the number of uilabel rows.
In iOS development, you sometimes need to obtain the number of lines of a string to implement specific functions. The following code is used to
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