Apple-like volume control column

After the upgrade of the tablet, we found that in the new IOS system, the volume-adjusting controls appearing after the scroll make people look very comfortable, good, try to achieve the following on Android. Above: The end result is this. Ideas for implementation: First, draw a rectangle. Step 2, draw a rounded rectangle on top of the ...

Posted by Hillu on Sun, 21 Jun 2020 18:10:04 +0200

iOS realizes recording function

reference material https://www.jianshu.com/p/fb7dfb033989 Audio file related knowledge file format wav: Features: the best sound quality format, corresponding to PCM coding Application: multimedia development, preservation of music and audio materials mp3: Features: good sound quality, high com ...

Posted by hiprakhar on Mon, 15 Jun 2020 08:37:16 +0200

ReactNative: Component encapsulation (e.g. secondary menu components)

1. Introduction Previously, the basic API and UI components of RN are introduced. These components exist in the form of granularity in complex composite components. How to effectively and reasonably use them for packaging is very necessary.There are many benefits to developing composite components, most notably reuse and independent functional ...

Posted by farkewie on Fri, 12 Jun 2020 04:17:07 +0200

Echart's basic graphic configuration and production

1. Introduce echarts ·Introducing src directly into html ·ES imports from node_ module/echarts/echarts ·Generally, VAR ecrats = require ("ecrats"); 2. js configuration 1. Echarts Initialize and bind container var echarts = Echarts.init(document.getElementById('mai ...

Posted by phpn00bf4life on Fri, 05 Jun 2020 06:07:18 +0200

How to get the content height of webView from iOS

In order to obtain the height of WebView, a scheme has been written before -- to update the height in real time by monitoring the changes of scrollView of WebView Attach the link: iOS [ultimate solution] accurately obtains the content height and adaptive height of webView This paper gives a second solution to the inaccuracy of content Height ...

Posted by tywin on Sun, 31 May 2020 08:31:08 +0200

[iOS] Beginner's Advancement: AppDelegate's Slim

Is the code inside an AppDelegate messy? Are there thousands of lines of code in an AppDelegate? image.png AppDelegate serves as the entry to the program.You should have simple code and a clear style so you can read it yourself and with the developers. So adding a new category to AppDelegate is the easiest and clearest way to do it i ...

Posted by solon on Tue, 26 May 2020 19:28:06 +0200

Customize the color of the status bar

First, I want to go to Tucao, and I read many blogs on the Internet. I am forced to make complaints about it. Few people can really solve the problem. Some people can really change the color of the status bar. But Nima has a gray layer on top of it, which is also called solving the problem. Some people say it's not easy ...

Posted by mmtalon on Mon, 04 May 2020 06:09:17 +0200

App learning note 1-tabBar and carousel

Today, I started to learn small programs. I started to write apps in my own order. I didn't follow official wechat documents. Some of the controls are a combination of official and online code shared by other students. Basic overview In this part, look at the official website to find out about the composition of the architecture page of the app ...

Posted by samip1983 on Sun, 03 May 2020 15:31:30 +0200

Flutter writes an iOS style address book

This article mainly introduces how to use the Cupertino style control of Flutter to write an iOS style address book, as well as the problems encountered in the process and solutions. When you write apps with Flutter, you will generally use material style controls. Because material style controls are rich, but they will appear Android flavor on ...

Posted by Shamrox on Tue, 28 Apr 2020 22:09:31 +0200

Check and recruit programming questions -- inverted string

Turn the words of a sentence upside down, without turning the punctuation upside down. For example, I like beijing. After the function, it becomes: beijing. like I Enter a description: Each test input contains one test case: I like beijing. The input case length shall not exceed 100 < / pre > Output Description: Output the inverted strin ...

Posted by doox00 on Sun, 26 Apr 2020 17:38:02 +0200