This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen/ | |
Static Launch Screen Images | |
It’s best to use an Xcode storyboard for your launch screen, but you can provide a set of static images if necessary. Create static images in different sizes for different devices, and be sure to include the status bar region. | |
Device Portrait size Landscape size | |
iPhone 6s Plus, iPhone 6 Plus 1080px by 1920px 1920px by 1080px | |
iPhone 6s, iPhone 6 750px by 1334px 1334px by 750px | |
iPhone SE 640px by 1136px 1136px by 640px |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (UIDevice.CurrentDevice.CheckSystemVersion(10, 0)) | |
{ | |
var center = UNUserNotificationCenter.Current; | |
center.RequestAuthorization(UNAuthorizationOptions.Sound | UNAuthorizationOptions.Alert | UNAuthorizationOptions.Badge, (bool arg1, NSError error) => | |
{ | |
InvokeOnMainThread(() => | |
{ | |
if (error == null) | |
{ | |
UIApplication.SharedApplication.RegisterForRemoteNotifications(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults write com.apple.DiskUtility advanced-image-options 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IOSDebuggerHosts>10.1.1.222</IOSDebuggerHosts> | |
<IOSDebuggerConnectOverUsb>False</IOSDebuggerConnectOverUsb> | |
<IOSDebugOverWiFi>true</IOSDebugOverWiFi> | |
<IOSDebuggerPort>10001</IOSDebuggerPort> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sharpie bind -scope KYDrawerController.framework/Headers KYDrawerController.framework/Headers/KYDrawerController-Swift.h -sdk iphoneos10.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void applyTheme() { | |
//Option 1: //Recreate screen | |
// recreate(); | |
//Option 2: Start and Finish with Animation | |
startActivity(new Intent(this, this.getClass())); | |
finish(); | |
// overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out); | |
overridePendingTransition(0, 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace MyApp.Droid | |
{ | |
public class AndroidClientHandlerLinkerOverride | |
{ | |
public void Include() | |
{ | |
var handler = new Xamarin.Android.Net.AndroidClientHandler(); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface FaceDetector : NSObject | |
- (id) initWithFaceCascade:(NSString*) filePath; | |
- (NSArray*) detectFaces:(UIImage*) image; | |
@end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Android.Content; | |
using Android.Runtime; | |
using Android.Util; | |
using Android.Views; | |
namespace TNUtils.Droid | |
{ | |
[Register("tnutils.droid.VerticalTextView")] | |
public class VerticalTextView : Android.Support.V7.Widget.AppCompatTextView |