1:afnetworking Status bar Network request effect
Set didfinishlaunchingwithoptions directly inside the Appdelegate
[[Afnetworkactivityindicatormanager Sharedmanager] setenabled:yes];
This will automatically have an effect on the network in which the AF request is useful, without having to write separately in each request;
2:uiscrollview Offset 64 problem
In a VC if the first control is Uiscrollview, note that the first control is first addsubview on Vc.view. Then the view added to the ScrollView will have a 64 offset on the y point (i.e. navigationbar height 44+ the height of the battery bar 20).
This will not appear until after the iOS7.
Workaround:
Self.automaticallyadjustsscrollviewinsets = false; Self is your current VC.
If this scrollview is not the first one added to the Self.view. No 64 offsets will occur.
3: Message clears some basic knowledge
A:[[uiapplication sharedapplication] cancelalllocalnotifications]; Revoke all
B:[[uiapplication sharedapplication] cancellocalnotification:notification]; To remove a notificiation, to delete a specific notification, you can add a tag to the userinfo and traverse all the notification to delete it.
4:does not contain Bitcode
/USERS/**/FRAMEWORK/SDKS/POLYMERPAY/LIBRARY/MOBSTAT/LIB**SDK.A (**FORSDK.O) ' does not contain bitcode. You must rebuild it with Bitcode enabled (Xcodesetting enable_bitcode), obtain a updated library from the vendor, or DISA Blebitcode for this target. For Architecture arm64
Either let the third-party library support or turn off the target's bitcode option.
In fact, in Xcode 7, when we create a new iOS program, the Bitcode option is set to Yes by default. We can see this setting in the "Build Settings", "Enable bitcode" option. However, what we need to consider now is three platforms: Ios,mac Os,watchos. For Ios,bitcode is optional, for Watchos,bitcode is required, and Mac OS is not supported for Bitcode.
5: Friends Third party login Sina Weibo
WEIBOSDK Cannotauthinweiboapp Wbauthorizerequest
Appredirecturl Configuration Inconsistencies • •
Sign in to Sina Developer · The URL address in the application callback page, application-----advanced apps
The bundle identifier in Xcode is going to be the same.
iOS Development Basics-Fragmentation 33