jinht / Floatingball
Licence: mit
悬浮球/悬浮按钮/辅助按钮(类似于iOS系统自带的AssistiveTouch/京东/聚划算/建行等的辅助按钮)
Stars: ✭ 126
Labels
Projects that are alternatives of or similar to Floatingball
Ksylive ios
金山云直播SDK [ iOS推流+播放 ]融合版 支持美颜滤镜(Beauty Filter)、美声(Beauty Voice)、软硬编(Software/Hardware Encoder) 、网络自适应(Network Auto Adapt)、混音(Audio Mixer)、混响(Reverb)、画中画(PIP)
Stars: ✭ 861 (+583.33%)
Mutual labels: ios-sdk
Sfacecompare
Simple lib for iOS to find and compare faces.
Stars: ✭ 83 (-34.13%)
Mutual labels: ios-sdk
Selectabletextview
A text view that supports selection and expansion
Stars: ✭ 626 (+396.83%)
Mutual labels: ios-sdk
Chabok Demo Ios
IOS version of Chabok push service demo application
Stars: ✭ 5 (-96.03%)
Mutual labels: ios-sdk
Gaugekit
Kit for building custom gauges + easy reproducible Apple's style ring gauges.
Stars: ✭ 997 (+691.27%)
Mutual labels: ios-sdk
Fwplayer
A video player SDK for iOS, it is based on AVPlayer. https://se.linkedin.com/in/foks-huiwang, https://fokswang.wixsite.com/home
Stars: ✭ 321 (+154.76%)
Mutual labels: ios-sdk
Ios Sdk
AppSpector is a debugging service for mobile apps
Stars: ✭ 56 (-55.56%)
Mutual labels: ios-sdk
Awesome Ios Interview
📲 The curated list of iOS Developer interview questions and answers, Swift & Objective-C
Stars: ✭ 753 (+497.62%)
Mutual labels: ios-sdk
Here Ios Sdk Examples
Objective-C and Swift projects using the HERE SDK for iOS.
Stars: ✭ 52 (-58.73%)
Mutual labels: ios-sdk
Countly Sdk Ios
Countly Product Analytics iOS SDK with macOS, watchOS and tvOS support.
Stars: ✭ 585 (+364.29%)
Mutual labels: ios-sdk
Swiftaa
The most comprehensive collection of accurate astronomical algorithms in (C++, Objective-C and) Swift.
Stars: ✭ 91 (-27.78%)
Mutual labels: ios-sdk
Onesignal Ios Sdk
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native iOS app with OneSignal. https://onesignal.com
Stars: ✭ 370 (+193.65%)
Mutual labels: ios-sdk
Avsqldebugger
A Simple Core Data Debugger that will look inside your apps DB
Stars: ✭ 30 (-76.19%)
Mutual labels: ios-sdk
Appauth Ios
iOS and macOS SDK for communicating with OAuth 2.0 and OpenID Connect providers.
Stars: ✭ 1,069 (+748.41%)
Mutual labels: ios-sdk
FloatingBall
一言不合就上图
Function Description
- 轻量级UI控件
- 辅助按钮/悬浮球(AssistiveTouch)
- 支持两种停靠方式及相关自定义设置
How to use
1. podfile
platform:ios, '8.0'
target '*****' do
pod 'JhtFloatingBall'
end
2. 简单的初始化
UIImage *suspendedBallImage = [UIImage imageNamed:@"SuspendedBall"];
JhtFloatingBall *fb = [[JhtFloatingBall alloc] initWithFrame:CGRectMake(0, 20, suspendedBallImage.size.width * 0.65, suspendedBallImage.size.height * 0.65)];
fb.image = suspendedBallImage;
[self.view addSubview:fb];
// 停靠方式
typedef NS_ENUM(NSInteger, Jht_StayMode) {
// 四周停靠(优先考虑左右两侧,具体处理逻辑同AssistiveTouch)
stayMode_Around = 0,
// 左侧停靠
stayMode_OnlyLeft,
// 右侧停靠
stayMode_OnlyRight,
};
/** 悬浮球停靠方式
* default:StayMode_Around(优先考虑左右两侧,具体处理逻辑同AssistiveTouch)
* 请注意 起始点 与 停靠方式 的一致性
*/
@property (nonatomic, assign) Jht_StayMode stayMode;
/** 是否需要延迟改变alpha(效果类似不AssistiveTouch)
* default:YES
*/
@property (nonatomic, assign) BOOL shouldDelayChangeAlpha;
/** 悬浮球停留时的透明度(stayAlpha >= 0,1:不透明)
* default:不透明
*/
@property (nonatomic, assign) CGFloat stayAlpha;
- 具体使用详见demo(使用demo之前请先 pod install )
Remind
- ARC
- iOS >= 8.0
- iPhone \ iPad
Hope
- If you find bug when used,Hope you can Issues me,Thank you or try to download the latest code of this framework to see the BUG has been fixed or not
- If you find the function is not enough when used,Hope you can Issues me,I very much to add more useful function to this framework ,Thank you !
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].