Posts

Post marked as solved
4 Replies
1.4k Views
My company from Germany had been registered as a developer at Apple for many years. I have now moved to Switzerland with my family. I deregistered the company in Germany and registered a new company with the same name in Switzerland. Now, almost two months ago, I have communicated the changes on the account management page under the link "Need to edit this information?" with the request to switch my account to Switzerland and enter the new address, the new VAT number and the new telephone number. I got a link where I should upload documents for the proof. I did that and nothing has happened for two months. When I ask the support, they answer that my case is in the right department and they can't tell me anything more specific. It is not possible to contact the department directly. How long can an update of the data take? Is there any way I can contact the responsible department?
Posted
by vsmedia.
Last updated
.
Post not yet marked as solved
1 Replies
1.8k Views
I would like to initialize the UIImagePickerController with the last used album and scroll to the last selected photo position.I tried to create an UIImagePickerController object and reuse it on the second call. But unfortunately after [self.picker dismissViewControllerAnimated:NO completion:nil]; the picker reset the current position and on the next presentModalViewController the picker shows the root photo location.Is there a way / trick to remember the position for the next call? This would make it easier for the user to select single photos from the same period.
Posted
by vsmedia.
Last updated
.
Post not yet marked as solved
2 Replies
3.4k Views
In the storyboard on the interface controller settings I ceck the checkbox "Full Screen".In the storyboard I can see the full screen mode is working and the group is scaled to the entire display.But unfortunately on the watch device it does not work. The black status bar is always visible.The group hat alignment center/center and width and height are set to "Relative to Container"How can I really use the fullscreen mode and not just in the storyboard?
Posted
by vsmedia.
Last updated
.
Post marked as solved
1 Replies
2.9k Views
I used this code from this site in old macOS versions to take an image of an NSView:- (NSImage *)imageRepresentation { BOOL wasHidden = self.isHidden; BOOL wantedLayer = self.wantsLayer; self.hidden = NO; self.wantsLayer = YES; NSImage *image = [[NSImage alloc] initWithSize:self.bounds.size]; [image lockFocus]; CGContextRef ctx = [NSGraphicsContext currentContext].CGContext; [self.layer renderInContext:ctx]; [image unlockFocus]; self.wantsLayer = wantedLayer; self.hidden = wasHidden; return image; }It has always worked without problems so far.Now, with macOS High Sierra (10.13) the returned image is empty. How can I solve the problem?
Posted
by vsmedia.
Last updated
.
Post not yet marked as solved
3 Replies
3.3k Views
For large images, the UIImagePickerControllerOriginalImage key does not return the original image on iOS 11.For example, if I select a photo with a size of 6500 x 6500 pixels with the UIImagePickerController in iOS 10 and get the picture with the key UIImagePickerControllerOriginalImage, the image size is 6500 x 6500 pixels.Under iOS 11, the image is only 2048 x 2048 pixels.The solution:if(picker.sourceType == UIImagePickerControllerSourceTypePhotoLibrary) { __block UIImage *image = (UIImage *) [info objectForKey:UIImagePickerControllerOriginalImage]; if (@available(iOS 11.0, *)) { PHAsset * asset = (PHAsset*)[info objectForKey:UIImagePickerControllerPHAsset]; PHImageManager *manager = [PHImageManager defaultManager]; PHImageRequestOptions *requestOptions = [[PHImageRequestOptions alloc] init]; requestOptions.resizeMode = PHImageRequestOptionsResizeModeExact; requestOptions.deliveryMode = PHImageRequestOptionsDeliveryModeHighQualityFormat; requestOptions.synchronous = true; [manager requestImageForAsset:asset targetSize:PHImageManagerMaximumSize contentMode:PHImageContentModeDefault options:requestOptions resultHandler:^void(UIImage *img, NSDictionary *info) { if(img != nil) { image = img; } }]; } // use the original image now }
Posted
by vsmedia.
Last updated
.
Post not yet marked as solved
1 Replies
450 Views
Hello,I would like to build the two frameworks ClippingBezier and PerformanceBezier as universal frameworks for iOS to run on the iOS devices and with the simulator.PerformanceBezier: https://github.com/adamwulf/PerformanceBezierClippingBezier: https://github.com/adamwulf/ClippingBezierFirst I need to create PerformanceBezier. In the "Build settings" I set "Build Active Architecture Only" and "ONLY_ACTIVE_PLATFORM" to NO.When I build the framework I get an error "Shell Script Invocation Error":Create universal static library/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool -static /Users/admin/Library/Developer/Xcode/DerivedData/PerformanceBezier-dkiwfkhgbhutcqdugjfaqkvvlbsy/Build/Products/Debug-iphoneos/PerformanceBezier.framework/PerformanceBezier /Users/admin/Library/Developer/Xcode/DerivedData/PerformanceBezier-dkiwfkhgbhutcqdugjfaqkvvlbsy/Build/Products/Debug-iphonesimulator/PerformanceBezier.framework/PerformanceBezier -o /Users/admin/Library/Developer/Xcode/DerivedData/PerformanceBezier-dkiwfkhgbhutcqdugjfaqkvvlbsy/Build/Products/Debug-iphoneos/PerformanceBezier.framework/PerformanceBezier.temp/Users/admin/Library/Developer/Xcode/DerivedData/PerformanceBezier-dkiwfkhgbhutcqdugjfaqkvvlbsy/Build/Intermediates/PerformanceBezier.build/Debug-iphoneos/PerformanceBezier.build/Script-66F2EBF51A8DC0CD00D536E9.sh: line 104: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool: No such file or directoryThe "Build Framework Script" contains this:echo "Create universal static library" echo "$PLATFORM_DEVELOPER_BIN_DIR/libtool" -static "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}" "${UFW_OTHER_BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}" -o "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}.temp" "$PLATFORM_DEVELOPER_BIN_DIR/libtool" -static "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}" "${UFW_OTHER_BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}" -o "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}.temp" echo mv "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}.temp" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}" mv "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}.temp" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}" fiDoes anyone know how to fix the error? That would be great. Many Thanks.
Posted
by vsmedia.
Last updated
.