ios solves the problem that horizontal screen is not allowed for app as a whole, and horizontal screen is required for sdk or individual pages.

The problem I encountered is that in the sdk, the app as a whole needs to prohibit horizontal screen, and the identification page inside the sdk needs horizontal screen, so there is a reference to the code of online Titan. Finally, I found that the best solution is runtime. OCFTOCRRotation.h ------- ...

Posted on Fri, 18 Oct 2019 11:45:49 -0700 by chrisC

Minutes to read ButterKnife's source code

Why write this series of blogs? Because in the Android development process, generics, reflection, annotations will be used, almost all frameworks will use at least one or two of the above knowledge, such as Gson, generics, reflection, annotations, Retrofit also used generics, reflection, annotations. It is very important for us to learn thes ...

Posted on Thu, 10 Oct 2019 00:03:37 -0700 by new2phpcode

PHP uploads files using OSS

I. install Alibaba cloud oss sdk 1. Install oss sdk by executing the following commands in the website root directory. composer require aliyuncs/oss-sdk-php After installation, a folder named aliyuncs will be found under the website root directory / vendor. Note: Aliyun oss - sdk document (no need to pay attention) "Official oss - sdk docu ...

Posted on Sun, 06 Oct 2019 11:46:33 -0700 by rv20

Reading NDEF Uri Data Developed by Android NFC

First add the following configuration to the AndroidManifest.xml file <!-- SDK Version at least 14 --> <uses-sdk android:minSdkVersion="14"/> <!-- Add to NFC Jurisdiction --> <uses-permission android:name="android.permission.NFC" /> <!-- Require that the current equipment ...

Posted on Sat, 05 Oct 2019 03:33:36 -0700 by carrotcake1029

spring -- Development

Authorized landing Apply for Public Number (Test Number is OK) Application Test Number Link appID and appsecret are obtained after applicationTo configure: Need the domain name that can be accessed by the outside net, if not, can make an intranet penetration. Development Third party SDK is used to avoid repeated wheel making. Third party SDKPr ...

Posted on Sat, 05 Oct 2019 00:31:33 -0700 by GodzMessanja

Aliyun Internet of Things Platform NTP Service JAVA Example Reference

Summary The Internet of Things platform provides NTP services to solve the problems of limited resources of embedded devices, no NTP services included in the system, and no precise timestamp on the end. The platform of Internet of things draws on the principle of NTP protocol, and uses cloud as NTP server. The device sends a specific Topic to t ...

Posted on Thu, 03 Oct 2019 22:16:52 -0700 by Jim

Spring pointcut(value =${}) injection

background A small public SDK of the company needs to output the facet log of method calls for each project. Output the tangent log of the specified class (method); The tangent points of each project are configurable. requirement analysis In fact, the demand is very clear. SDK package is introduced into the project. The tangent point is conf ...

Posted on Thu, 03 Oct 2019 10:12:36 -0700 by Trojan

Qt Writing Custom Control 58-Histogram Symmetry

1. Preface This control is also not an original control. It comes from the code on the reference network. Symmetrical as its name implies, it divides the canvas into upper and lower parts, automatically draws the set value according to half the canvas height as the reference height, and then increases the dynamic transition effect, which is sim ...

Posted on Sun, 22 Sep 2019 17:49:46 -0700 by sundru

Qt Write Custom Control 56-Wave Curve

1. Preface Wave curve control, in fact, is a core of the previous water wave progress bar control. In fact, it uses sinusoidal curve to generate corresponding coordinates for drawing, and extracts this function independently, in order to study various sinusoidal cosine and other expansion effects in m ...

Posted on Fri, 20 Sep 2019 19:21:33 -0700 by Crysma

Qt Writing Custom Control 55-Mobile Address Book

I. Preface In the previous several articles, the difficulty coefficient of the control is nearly 0, and there is even a suspicion of the number of controls. This time, we must have a strong control. The difficulty coefficient of this control ranks the top five among all the controls, and the amount of code is not small. The header files are 550 ...

Posted on Fri, 20 Sep 2019 08:02:14 -0700 by robert_gsfame